|
Public Member Functions |
BOOL | ProcessTrapsForBevelling (Path *pPath, TrapsList *RetnTraps, INT32 indent, JointType jType, BOOL bOuter) |
Static Public Member Functions |
static void | CalcInnerPoint (TrapEdge *pEdge, INT32 indent, DocCoord *dc, BOOL bOuter) |
static BOOL | CalculateIntersection (const DocCoord *start1, const NormCoord *dir1, const DocCoord *start2, const NormCoord *dir2, DocCoord *point, double *p, double *q) |
| Turns the path into trapezoids which can be used for the bevelling Calculates the intersection between 2 lines.
|
static void | GetPathFromTraps (TrapsList *pTraps, const MILLIPOINT Width, Path *pPath) |
static BOOL | EliminateMultpilePoints (Path *pSrc, Path *pDest) |
Private Member Functions |
| CC_DECLARE_DYNCREATE (CCreateBevelTrapezoids) |
BOOL | IsOuterTurn (NormCoord *nc1, NormCoord *nc2) |
BOOL | AddEdgeToList (TrapEdgeList *pList, DocCoord *Centre, NormCoord *Normal, double Position, NormCoord *pNormal2=NULL) |
BOOL | SmoothCorners (TrapsList *pList, TrapsList *RetnList, double Indent, BOOL bOuterBevel) |
INT32 | AlterIndex (INT32 index, INT32 max, INT32 offset) |
BOOL | ProcessPath (Path *pPath, TrapsList *RetnTraps, INT32 indent, BOOL bOuter, JointType jType) |
void | CreateRoundJoin (TrapEdgeList *pList, DocCoord *pCentre, NormCoord *pStartNorm, NormCoord *pEndNorm, INT32 depth=0) |
void | FlattenInnerPoints (TrapEdgeList *pList, INT32 indent, BOOL bOuter) |
void | RecursivelyAddEdges (TrapEdgeList *pList, DocCoord *pCentre1, DocCoord *pCentre2, DocCoord *pInnerPoint, double MOneDivIndent, INT32 depth=0) |