|
CartoType API
|
#include <cartotype_graphics.h>
Public Member Functions | |
| CT_IMPORT | TPathIterator (const MPath &aPath) |
| CT_IMPORT bool | Forward (double aDistance) |
| int32 | ContourIndex () const |
| const TContour & | Contour () const |
| int32 | LineIndex () const |
| double | PositionOnLine () const |
| const TPoint & | Position () const |
| double | Direction () const |
An iterator to traverse a path. Limitation: for the moment it works with straight lines only; it treats all points as on-curve points.
| CT_EXPORT bool TPathIterator::Forward | ( | double | aDistance | ) |
Move forwards by aDistance. Return false if the end of the path is reached, true if not.
1.7.5.1