#include <pathproc.h>
Inheritance diagram for ProcessFlatten:
Public Member Functions | |
ProcessFlatten (const double flat) | |
Constructor for ProcessFlatten. | |
BOOL | FlattenPath (const ProcessFlags &PFlags, Path *pSource, Path *pDestin) |
Flatten a path object. | |
virtual BOOL | NewPoint (PathVerb Verb, DocCoord *pCoord) |
Private Attributes | |
Path * | FlattenOutput |
Definition at line 187 of file pathproc.h.
|
Constructor for ProcessFlatten.
Definition at line 582 of file pathproc.cpp. 00582 : ProcessPath(flat) 00583 { 00584 }
|
|
Flatten a path object.
Definition at line 605 of file pathproc.cpp. 00606 { 00607 BOOL ok = ProcessPath::Init(pSource); 00608 if (ok) 00609 { 00610 FlattenOutput = pDestin; 00611 FlattenOutput->SetPathPosition(pDestin->GetNumCoords()); 00612 ok = ProcessPath::Process(PFlags); 00613 } 00614 return ok; 00615 }
|
|
Implements ProcessPath. Definition at line 628 of file pathproc.cpp. 00629 { 00630 if (Verb == PT_MOVETO) 00631 return FlattenOutput->AddMoveTo(*pCoord); 00632 00633 if (Verb == PT_LINETO) 00634 return FlattenOutput->AddLineTo(*pCoord); 00635 00636 return TRUE; 00637 }
|
|
Definition at line 195 of file pathproc.h. |