wxPdfDocument
0.9.7
|
Class representing a flattened path. More...
#include <pdfgraphics.h>
Public Member Functions | |
wxPdfFlatPath (const wxPdfShape *shape, double flatness=1, int limit=10) | |
Constructor. More... | |
virtual | ~wxPdfFlatPath () |
Destructor. More... | |
void | InitIter () |
Initialize path iterator. More... | |
void | FetchSegment () |
Fetch current path segment. More... | |
void | Next () |
Advance path iterator. More... | |
int | CurrentSegment (double coords[]) |
Get current path segment. More... | |
void | SubdivideCubic () |
Subdivide cubic bezier curve path. More... | |
bool | IsDone () |
Check whether path iterator is done. More... | |
double | MeasurePathLength () |
Measure flattened path length. More... | |
Class representing a flattened path.
wxPdfFlatPath::wxPdfFlatPath | ( | const wxPdfShape * | shape, |
double | flatness = 1 , |
||
int | limit = 10 |
||
) |
Constructor.
|
virtual |
Destructor.
int wxPdfFlatPath::CurrentSegment | ( | double | coords[] | ) |
Get current path segment.
[out] | coords | coordinates of current segment |
void wxPdfFlatPath::FetchSegment | ( | ) |
Fetch current path segment.
void wxPdfFlatPath::InitIter | ( | ) |
Initialize path iterator.
|
inline |
Check whether path iterator is done.
double wxPdfFlatPath::MeasurePathLength | ( | ) |
Measure flattened path length.
void wxPdfFlatPath::Next | ( | ) |
Advance path iterator.
void wxPdfFlatPath::SubdivideCubic | ( | ) |
Subdivide cubic bezier curve path.