cstroke.h

Go to the documentation of this file.
00001 // $Id: cstroke.h 751 2006-03-31 15:43:49Z alex $
00002 /* @@tag:xara-cn@@ DO NOT MODIFY THIS LINE
00003 ================================XARAHEADERSTART===========================
00004  
00005                Xara LX, a vector drawing and manipulation program.
00006                     Copyright (C) 1993-2006 Xara Group Ltd.
00007        Copyright on certain contributions may be held in joint with their
00008               respective authors. See AUTHORS file for details.
00009 
00010 LICENSE TO USE AND MODIFY SOFTWARE
00011 ----------------------------------
00012 
00013 This file is part of Xara LX.
00014 
00015 Xara LX is free software; you can redistribute it and/or modify it
00016 under the terms of the GNU General Public License version 2 as published
00017 by the Free Software Foundation.
00018 
00019 Xara LX and its component source files are distributed in the hope
00020 that it will be useful, but WITHOUT ANY WARRANTY; without even the
00021 implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
00022 See the GNU General Public License for more details.
00023 
00024 You should have received a copy of the GNU General Public License along
00025 with Xara LX (see the file GPL in the root directory of the
00026 distribution); if not, write to the Free Software Foundation, Inc., 51
00027 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
00028 
00029 
00030 ADDITIONAL RIGHTS
00031 -----------------
00032 
00033 Conditional upon your continuing compliance with the GNU General Public
00034 License described above, Xara Group Ltd grants to you certain additional
00035 rights. 
00036 
00037 The additional rights are to use, modify, and distribute the software
00038 together with the wxWidgets library, the wxXtra library, and the "CDraw"
00039 library and any other such library that any version of Xara LX relased
00040 by Xara Group Ltd requires in order to compile and execute, including
00041 the static linking of that library to XaraLX. In the case of the
00042 "CDraw" library, you may satisfy obligation under the GNU General Public
00043 License to provide source code by providing a binary copy of the library
00044 concerned and a copy of the license accompanying it.
00045 
00046 Nothing in this section restricts any of the rights you have under
00047 the GNU General Public License.
00048 
00049 
00050 SCOPE OF LICENSE
00051 ----------------
00052 
00053 This license applies to this program (XaraLX) and its constituent source
00054 files only, and does not necessarily apply to other Xara products which may
00055 in part share the same code base, and are subject to their own licensing
00056 terms.
00057 
00058 This license does not apply to files in the wxXtra directory, which
00059 are built into a separate library, and are subject to the wxWindows
00060 license contained within that directory in the file "WXXTRA-LICENSE".
00061 
00062 This license does not apply to the binary libraries (if any) within
00063 the "libs" directory, which are subject to a separate license contained
00064 within that directory in the file "LIBS-LICENSE".
00065 
00066 
00067 ARRANGEMENTS FOR CONTRIBUTION OF MODIFICATIONS
00068 ----------------------------------------------
00069 
00070 Subject to the terms of the GNU Public License (see above), you are
00071 free to do whatever you like with your modifications. However, you may
00072 (at your option) wish contribute them to Xara's source tree. You can
00073 find details of how to do this at:
00074   http://www.xaraxtreme.org/developers/
00075 
00076 Prior to contributing your modifications, you will need to complete our
00077 contributor agreement. This can be found at:
00078   http://www.xaraxtreme.org/developers/contribute/
00079 
00080 Please note that Xara will not accept modifications which modify any of
00081 the text between the start and end of this header (marked
00082 XARAHEADERSTART and XARAHEADEREND).
00083 
00084 
00085 MARKS
00086 -----
00087 
00088 Xara, Xara LX, Xara X, Xara X/Xtreme, Xara Xtreme, the Xtreme and Xara
00089 designs are registered or unregistered trademarks, design-marks, and/or
00090 service marks of Xara Group Ltd. All rights in these marks are reserved.
00091 
00092 
00093       Xara Group Ltd, Gaddesden Place, Hemel Hempstead, HP2 6EX, UK.
00094                         http://www.xara.com/
00095 
00096 =================================XARAHEADEREND============================
00097  */
00098 /************************************************************************/
00099 //
00100 // GStroke.h
00101 //
00102 /************************************************************************/
00103 
00104 typedef bool GBOOL ;
00105 typedef  __int64        DLONG ;
00106 typedef __uint64        UDLONG ;
00107 typedef double          DOUBLE ;
00108 
00109 struct FPOINT ;
00110 struct GPOINT ;
00111 
00112 #define TypeDef(name)                           \
00113     typedef const name            c##name ;     \
00114     typedef       name*           p##name ;     \
00115     typedef const name*          pc##name ;     \
00116     typedef       name* const    cp##name ;     \
00117     typedef const name* const   cpc##name ;     \
00118     typedef       name**         pp##name ;     \
00119     typedef const name**        ppc##name ;
00120 
00121 TypeDef( GBOOL  )
00122 TypeDef( INT32  )
00123 TypeDef( UINT32 )
00124 TypeDef( DLONG  )
00125 TypeDef( UDLONG )
00126 
00127 TypeDef( BYTE   )
00128 TypeDef( WORD   )
00129 TypeDef( DWORD  )
00130 
00131 TypeDef( FLOAT  )
00132 TypeDef( DOUBLE )
00133 
00134 TypeDef(  POINT )
00135 TypeDef( FPOINT )
00136 TypeDef( GPOINT )
00137 
00138 struct FPOINT {
00139     double X ;
00140     double Y ;
00141     FPOINT() {} ;
00142     FPOINT( cDOUBLE X,cDOUBLE Y ) : X(X),Y(Y) {} ;
00143     FPOINT( cGPOINT P ) ;
00144     bool   operator==(cFPOINT& P) const { return X==P.X && Y==P.Y ; }
00145     bool   operator!=(cFPOINT& P) const { return X!=P.X || Y!=P.Y ; }
00146     FPOINT operator+ (cFPOINT& P) const { return FPOINT(X+P.X,Y+P.Y) ; }
00147     FPOINT operator- (cFPOINT& P) const { return FPOINT(X-P.X,Y-P.Y) ; }
00148     FPOINT operator* (cFPOINT& P) const { return FPOINT(X*P.X,Y*P.Y) ; }
00149     FPOINT operator* (cDOUBLE& F) const { return FPOINT(X*F  ,Y*F  ) ; }
00150   // In the event of 32 bit build problems, make the next line
00151   // conditional upon SIZEOF_LONG != SIZEOF_INT
00152     FPOINT operator* (cINT32&   I) const { return FPOINT(X*I  ,Y*I  ) ; }
00153     FPOINT operator/ (cDOUBLE& F) const { cDOUBLE R=1/F ;
00154                                           return FPOINT(X*R  ,Y*R  ) ; }
00155     FPOINT operator+ () const { return *this ; }
00156     FPOINT operator- () const { return FPOINT(-X,-Y) ; }
00157     DOUBLE Length    () const { return sqrt(X*X+Y*Y) ; }
00158     FPOINT Normalise () const { cDOUBLE L=Length() ;
00159                                 return L>0 ? *this/L : FPOINT(0,0) ; }
00160 } ;
00161 inline FPOINT operator*(cDOUBLE& F,cFPOINT& P) { return P*F ; }
00162   // In the event of 32 bit build problems, make the next line
00163   // conditional upon SIZEOF_LONG != SIZEOF_INT
00164 inline FPOINT operator*(cINT32&   I,cFPOINT& P) { return P*I ; }
00165 
00166 struct GPOINT {
00167     INT32 X ;
00168     INT32 Y ;
00169     GPOINT() {} ;
00170     GPOINT( cINT32 X,cINT32 Y ) : X(X),Y(Y) {} ;
00171     GPOINT( cFPOINT P ) : X((INT32)P.X),Y((INT32)P.Y) {} ;
00172     bool   operator==(cGPOINT& P) const { return X==P.X && Y==P.Y ; }
00173     bool   operator!=(cGPOINT& P) const { return X!=P.X || Y!=P.Y ; }
00174     GPOINT operator+ (cGPOINT& P) const { return GPOINT(X+P.X,Y+P.Y) ; }
00175     GPOINT operator- (cGPOINT& P) const { return GPOINT(X-P.X,Y-P.Y) ; }
00176     GPOINT operator* (  cINT32& I) const { return GPOINT(X*I  ,Y*I  ) ; }
00177     GPOINT operator<<(  cINT32& I) const { return GPOINT(X<<I ,Y<<I ) ; }
00178     GPOINT operator>>(  cINT32& I) const { return GPOINT(X>>I ,Y>>I ) ; }
00179     GPOINT operator+ () const { return *this ; }
00180     GPOINT operator- () const { return GPOINT(-X,-Y) ; }
00181 } ;
00182 inline GPOINT operator*(cINT32& I,cGPOINT& P) { return P*I ; }
00183 inline FPOINT::FPOINT( cGPOINT P ) : X(P.X),Y(P.Y) {}
00184 
00185 /************************************************************************/
00186 
00187 class CBezier
00188 {
00189 public :
00190     CBezier( cpcFPOINT C ) ;
00191     double  Length( cDOUBLE T ) ;
00192 private :
00193     double BLength( cDOUBLE T ) ;
00194     double P0,P1,P2,P3,P4 ;
00195 } ;
00196 
00197 /************************************************************************/
00198 
00199 struct BEVEL_FACE {
00200     GPOINT aFace[4] ;
00201     GBOOL  bTriangle ;
00202     FPOINT Normal ;
00203 } ;
00204 
00205 struct DASH {
00206     DWORD   Length ;
00207     DWORD   Offset ;
00208     DWORD   Array[8] ;
00209 } ;
00210 
00211 TypeDef( BEVEL_FACE )
00212 TypeDef( DASH )
00213 
00214 /************************************************************************/
00215 
00216 class GenStroke
00217 {
00218 
00219 public :
00220     virtual ~GenStroke() { }
00221 
00222     enum {
00223         MAX_DASH_LENGTH = 8
00224     } ;
00225 
00226     //
00227     // Returns path length (>=0) or error (<0).
00228     //
00229     // Errors are
00230     //      -1 CalcBBox failed.
00231     //      -2 Bad source path
00232     //      -3 Out of path space
00233     //      -4 Out of memory
00234     //
00235     INT32 StrokePathToPath(
00236                 cpcPOINT    pIPoints,
00237                 cpcBYTE     pITypes,
00238                 UINT32      nILength,
00239                 ppPOINT     ppOPoints,
00240                 ppBYTE      ppOTypes,
00241                 BOOL        bClose,
00242                 UINT32      nLineWidth,
00243                 UINT32      nMitreLimit,
00244 //              UINT32      nFlatness,
00245                 DOUBLE      nFlatness,
00246                 const  CapStyles LineCaps,
00247                 const JoinStyles LineJoin,
00248                 cpcDASH     pDash
00249             ) ;
00250 
00251 protected :
00252     
00253     enum eEndStyle {            // End of line styles
00254         END_UNDEFINED,
00255         END_JOIN,
00256         END_SMOOTH,
00257         END_START_CAP,
00258         END_END_CAP
00259     } ;
00260 
00261      CapStyles   CapStyle ;
00262     JoinStyles  JoinStyle ;
00263     DOUBLE      FFlatness ;         // Flatness
00264     DOUBLE      FFlatness8 ;        // Flatness*8
00265     DOUBLE      FLineWidth ;        // LineWidth/2
00266     DOUBLE      FSqrLineWidth ;     // LineWidth/4
00267     DOUBLE      FDivLineWidth ;     // 2/LineWidth
00268     DOUBLE      FDivSqrLineWidth ;  // (1<<24)/(LineWidth/4)
00269     DOUBLE      FMitreLimit ;       // LineWidth/(2*MitreLimit)<<32
00270     DOUBLE      FSmoothLimit ;
00271     DOUBLE      FStrokeLimit ;      // LineWidth*3/4*0.001
00272                 
00273     pGPOINT     pOutputPoints ;     // -> Output path points
00274     pBYTE       pOutputTypes ;      // -> Output path types
00275     UINT32      nOutputLength ;     // Length of output arrays
00276     UINT32      nMaxOutputLength ;  // Maximum allowed length of output arrays 
00277                 
00278     FPOINT      FirstPoint1 ;       // First point not equal to StartPoint
00279     FPOINT      FirstPoint2 ;       // First point not equal to StartPoint
00280     FPOINT      FirstPoint ;        // First point not equal to StartPoint
00281     FPOINT      SecondPoint1 ;      // Next point not equal to FirstPoint
00282     FPOINT      SecondPoint2 ;      // Next point not equal to FirstPoint
00283     FPOINT      SecondPoint ;       // Next point not equal to FirstPoint
00284     FPOINT      ThisPoint1 ;        // Current point of path
00285     FPOINT      ThisPoint2 ;        // Current point of path
00286     FPOINT      ThisPoint ;         // Current point of path
00287     FPOINT      PrevPoint1 ;        // Previous point to ThisPoint, but not same as ThisPoint
00288     FPOINT      PrevPoint2 ;        // Previous point to ThisPoint, but not same as ThisPoint
00289     FPOINT      PrevPoint ;         // Previous point to ThisPoint, but not same as ThisPoint
00290     FPOINT      LastPoint1 ;        // Previous point to PrevPoint, but not same as PrevPoint
00291     FPOINT      LastPoint2 ;        // Previous point to PrevPoint, but not same as PrevPoint
00292     FPOINT      LastPoint ;         // Previous point to PrevPoint, but not same as PrevPoint
00293     FPOINT      FirstOffsetS ;      // Offset for line from StartPoint to FirstPoint
00294     FPOINT      FirstOffsetE ;      // Offset for line from StartPoint to FirstPoint
00295     FPOINT      SecondOffsetS ;     // Offset for line from FirstPoint to SecondPoint
00296     FPOINT      SecondOffsetE ;     // Offset for line from FirstPoint to SecondPoint
00297     FPOINT      ThisOffsetS ;       // Offset for line from PrevPoint to ThisPoint
00298     FPOINT      ThisOffsetE ;       // Offset for line from PrevPoint to ThisPoint
00299     FPOINT      PrevOffsetS ;       // Offset for line from LastPoint to PrevPoint
00300     FPOINT      PrevOffsetE ;       // Offset for line from LastPoint to PrevPoint
00301     FPOINT      ThisMitre ;         // Offset from PrevPoint to mitre
00302     FPOINT      PrevMitre ;         // Offset from LastPoint to mitre
00303     DOUBLE      ThisSin ;           // Positive if bend at PrevPoint to left else negative
00304     DOUBLE      PrevSin ;           // Positive if bend at LastPoint to left else negative
00305     DOUBLE      ThisCos ;           // COS of angle at PrevPoint
00306     DOUBLE      FirstLengthS ;      // Length of line from StartPoint to FirstPoint
00307     DOUBLE      FirstLengthE ;      // Length of line from StartPoint to FirstPoint
00308     DOUBLE      SecondLengthS ;     // Length of line from FirstPoint to SecondPoint
00309     DOUBLE      SecondLengthE ;     // Length of line from FirstPoint to SecondPoint
00310     DOUBLE      ThisLengthS ;       // Length of line from PrevPoint to ThisPoint
00311     DOUBLE      ThisLengthE ;       // Length of line from PrevPoint to ThisPoint
00312     DOUBLE      PrevLengthE ;       // Length of line from LastPoint to PrevPoint
00313     GBOOL       ThisMitreFlag ;     // Set if mitre length at PrevPoint less than MitreLimit
00314     GBOOL       PrevMitreFlag ;     // Set if mitre length at LastPoint less than MitreLimit
00315     GBOOL       ThisLengthFlag ;    // Set if dashed or lines shorter than mitre at PrevPoint
00316     GBOOL       PrevLengthFlag ;    // Set if dashed or lines shorter than mitre at LastPoint
00317     eEndStyle   FirstLineEnd ;      // At FirstPoint : Line end type
00318     eEndStyle   ThisLineEnd ;       // At  ThisPoint : Line end type
00319     eEndStyle   PrevLineEnd ;       // At  PrevPoint : Line end type
00320     eEndStyle   LastLineEnd ;       // At  LastPoint : Line end type
00321     GBOOL       FirstIsCurve ;
00322     GBOOL       SecondIsCurve ;
00323     GBOOL       ThisIsCurve ;
00324     GBOOL       PrevIsCurve ;
00325     GBOOL       LastIsCurve ;
00326     GBOOL       FirstOSign ;
00327     GBOOL       FirstISign ;
00328     GBOOL       SecondOSign ;
00329     GBOOL       SecondISign ;
00330     GBOOL       ThisOSign ;
00331     GBOOL       ThisISign ;
00332     GBOOL       PrevOSign ;
00333     GBOOL       PrevISign ;
00334     GBOOL       LastOSign ;
00335     GBOOL       LastISign ;
00336 
00337     size_t      DashArrayLength ;
00338     INT32       DashStartRemain ;
00339     DOUBLE      DashRemain ;
00340     UINT32      DashStartCount ;
00341     UINT32      DashCount ;
00342     GBOOL       DashStartState ;
00343     GBOOL       DashState ;
00344     GBOOL       DashFlag ;
00345     UINT32      DashTotalLength ;
00346     UINT32      aDashArray[MAX_DASH_LENGTH] ;
00347 
00348     GBOOL       bInner ;
00349     GBOOL       bOuter ;
00350 
00351     FPOINT      PrevCOffset ;
00352     FPOINT      ThisCOffset ;
00353 
00354     static cFLOAT aArcTable[0x201] ;
00355     static cpcFLOAT pArcTable ;
00356 
00357     void StrokePath(
00358                 cpcGPOINT pInputPoints,
00359                 cpcBYTE   pInputTypes,
00360                 cUINT32   InputLength,
00361                 cGBOOL    bClose,
00362                 cUINT32   LineWidth,
00363                 cUINT32   MitreLimit,
00364 //              cUINT32    nFlatness,
00365                 cDOUBLE    nFlatness,
00366                 const  CapStyles LineCaps,
00367                 const JoinStyles LineJoin,
00368                 cpcDASH   pDash
00369             ) ;
00370 
00371     void StrokeLine ( cFPOINT EndPoint, const eEndStyle End = END_JOIN ) ;
00372     void StrokeCurve( FPOINT C[4] ) ;
00373     void StrokeCurve( cpcFPOINT FPoint, cGBOOL bOSign,cGBOOL bISign ) ;
00374     void StrokeCurve( cpcFPOINT FPoint, const eEndStyle End, cGBOOL bOSign,cGBOOL bISign ) ;
00375     void GenSection(
00376                 cFPOINT Point1,cFPOINT Point2,cFPOINT Point,
00377                 cFPOINT OffsetS,cDOUBLE LengthS,
00378                 cFPOINT OffsetE,cDOUBLE LengthE,
00379                 const eEndStyle LineEnd,
00380                 cGBOOL IsCurve,
00381                 cGBOOL bOSign,cGBOOL bISign
00382             ) ;
00383     virtual void GenLineEdge() ;
00384 
00385     void GenStrokeCurves(
00386                 cFPOINT P0,cFPOINT P1,cFPOINT P2,cFPOINT P3,
00387                 cFPOINT N00,cFPOINT N33
00388             ) ;
00389     void GenStrokeInnerCurves(
00390                 cFPOINT P0,cFPOINT P1,cFPOINT P2,cFPOINT P3,
00391                 cFPOINT N00,cFPOINT N33
00392             ) ;
00393     void DoStrokeCurves(
00394                 cINT32 Depth,
00395                 cFPOINT P06,cFPOINT P26,cFPOINT P46,cFPOINT P66, cFPOINT PC1,cFPOINT PC2,
00396                 cFPOINT T06,cFPOINT T26,cFPOINT T46,cFPOINT T66,
00397                 cFPOINT N06,cFPOINT N26,cFPOINT N46,cFPOINT N66
00398             ) ;
00399 
00400     void SplitCurve( cpFPOINT C0, cpFPOINT C1, cDOUBLE T ) ;
00401 
00402     void GenRoundCap( cFPOINT C,cFPOINT O ) ;
00403     void CalcCurveOffset() ;
00404     void AddPoint( UINT32 n ) ;
00405     virtual void MoveTo_Start( cDOUBLE X,cDOUBLE Y ) ;
00406     virtual void LineTo_Start( cDOUBLE X,cDOUBLE Y ) ;
00407     virtual void LineTo_End  ( cDOUBLE X,cDOUBLE Y ) ;
00408     virtual void Close() ;
00409     virtual void LineTo(
00410                 cFPOINT C0,cFPOINT C1,
00411                 cFPOINT P0,cFPOINT P1
00412             ) ;
00413     virtual void CurveTo(
00414                 cFPOINT C0,cFPOINT C1,cFPOINT C2,cFPOINT C3,
00415                 cFPOINT P0,cFPOINT P1,cFPOINT P2,cFPOINT P3
00416             ) ;
00417     void Set_Prev( cFPOINT P ) ;
00418     virtual void PathOpen () {} ;
00419     virtual void PathClose() {} ;
00420 
00421     enum {
00422         PT_PATHELEMENT = 6      // Path element mask
00423     } ;
00424 
00425     inline GBOOL   IsClosed  ( cBYTE Type ) { return  (Type & PT_CLOSEFIGURE) ; }
00426     inline GBOOL IsntClosed  ( cBYTE Type ) { return !(Type & PT_CLOSEFIGURE) ; }
00427     inline GBOOL   IsMoveTo  ( cBYTE Type ) { return  (Type & PT_PATHELEMENT)==PT_MOVETO   ; } ;
00428     inline GBOOL IsntMoveTo  ( cBYTE Type ) { return  (Type & PT_PATHELEMENT)!=PT_MOVETO   ; } ;
00429     inline GBOOL   IsLineTo  ( cBYTE Type ) { return  (Type & PT_PATHELEMENT)==PT_LINETO   ; } ;
00430     inline GBOOL IsntLineTo  ( cBYTE Type ) { return  (Type & PT_PATHELEMENT)!=PT_LINETO   ; } ;
00431     inline GBOOL   IsBezierTo( cBYTE Type ) { return  (Type & PT_PATHELEMENT)==PT_BEZIERTO ; } ;
00432     inline GBOOL IsntBezierTo( cBYTE Type ) { return  (Type & PT_PATHELEMENT)!=PT_BEZIERTO ; } ;
00433 } ;
00434 
00435 /************************************************************************/
00436 
00437 class GenPathContour : public GenStroke
00438 {
00439 public :
00440     //
00441     // Set bOuter for outer contour.
00442     //
00443     // Returns path length (>=0) or error (<0).
00444     //
00445     // Errors are
00446     //      -1 CalcBBox failed.
00447     //      -2 Bad source path
00448     //      -3 Out of path space
00449     //      -4 Out of memory
00450     //
00451     INT32 ContourPath(
00452                 cpcPOINT    pIPoints,
00453                 cpcBYTE     pITypes,
00454                 UINT32      nILength,
00455                 ppPOINT     ppOPoints,
00456                 ppBYTE      ppOTypes,
00457                 UINT32      LineWidth,
00458                 UINT32      MitreLimit,
00459 //              UINT32      nFlatness,
00460                 DOUBLE      nFlatness,
00461                 const JoinStyles LineJoin,
00462                 bool        bOuter
00463             ) ;
00464 
00465 protected :
00466     bool bStart ;
00467 
00468     void GenLineEdge() ;
00469     void GenOuterEdge() ;
00470     void GenInnerEdge() ;
00471 
00472     void LineTo_Start( cDOUBLE X,cDOUBLE Y ) ;
00473     void PathOpen () { bStart = true ; }
00474     void PathClose() { if (!bStart) Close() ; }
00475 } ;
00476 
00477 /************************************************************************/
00478 
00479 class GenBevelFaces : public GenStroke
00480 {
00481 public :
00482     //
00483     // Set bOuter for outer contour.
00484     //
00485     // Returns number of bevel faces (>=0) or error (<0).
00486     //
00487     // Errors are
00488     //      -1 CalcBBox failed.
00489     //      -2 Bad source path
00490     //      -3 Out of path space
00491     //      -4 Out of memory
00492     //
00493     INT32 BevelPath(
00494                 cpcPOINT    pIPoints,
00495                 cpcBYTE     pITypes,
00496                 UINT32      ILength,
00497                 ppBEVEL_FACE ppOutputFaces,
00498                 UINT32      LineWidth,
00499                 UINT32      MitreLimit,
00500 //              UINT32      nFlatness,
00501                 DOUBLE      nFlatness,
00502                 const JoinStyles LineJoin,
00503                 bool        bOuter
00504             ) ;
00505 
00506 protected :
00507     pBEVEL_FACE pBFaces ;       // -> Bevel faces
00508     UINT32      nMaxBFaces ;    // Maximum number of bevel faces.
00509     UINT32      nBFaces ;       // Current number of bevel faces.
00510 
00511     pBEVEL_FACE NewBFace() ;
00512 
00513     void GenLineEdge() ;
00514     void GenOuterEdge() ;
00515     void GenInnerEdge() ;
00516 
00517     void LineTo(
00518                 cFPOINT C0,cFPOINT C1,
00519                 cFPOINT P0,cFPOINT P1
00520             ) ;
00521     void CurveTo(
00522                 cFPOINT C0,cFPOINT C1,cFPOINT C2,cFPOINT C3,
00523                 cFPOINT P0,cFPOINT P1,cFPOINT P2,cFPOINT P3
00524             ) ;
00525     void CurveTo( cFPOINT C, cFPOINT P0,cFPOINT P1,cFPOINT P2,cFPOINT P3 ) ;
00526 } ;
00527 
00528 /************************************************************************/

Generated on Sat Nov 10 03:44:55 2007 for Camelot by  doxygen 1.4.4