6 #if !defined(AFX_PATH_H__720D2D33_CBAA_4EE8_B476_F0143E874CFC__INCLUDED_)
7 #define AFX_PATH_H__720D2D33_CBAA_4EE8_B476_F0143E874CFC__INCLUDED_
11 #include "Utility/DPoint.h"
20 typedef enum ePathType {
22 POLYBEZIER_PATH_DISCONT,
40 void AddPoints(DPoint *pts,
long count, ePathType type = POLYLINE_PATH,
bool closed =
false);
43 void operator=(
const Path& a );
52 #endif // !defined(AFX_PATH_H__720D2D33_CBAA_4EE8_B476_F0143E874CFC__INCLUDED_)
int nPaths
number of path elements
Definition: Path.h:48
Path(int nNew=0)
Constructor.
Definition: Path.cpp:9
void TransformBy(CMatrix *pMat)
transform this path
Definition: Path.cpp:91
PathElement * pData
array of path elements
Definition: Path.h:46
path element structure, points, type, count, closed flag
Definition: Path.h:27
Path – graphical path data container class.
Definition: Path.h:17
void AddPoints(DPoint *pts, long count, ePathType type=POLYLINE_PATH, bool closed=false)
add a path element
Definition: Path.cpp:49
CMatrix – transform matrix class.
Definition: Matrix.h:16
~Path()
Destructor.
Definition: Path.cpp:32