CartoType API
Public Member Functions
CartoType::TPathIterator Class Reference

#include <cartotype_graphics.h>

List of all members.

Public Member Functions

CT_IMPORT TPathIterator (const MPath &aPath)
CT_IMPORT bool Forward (double aDistance)
int32 ContourIndex () const
const TContourContour () const
int32 LineIndex () const
double PositionOnLine () const
const TPointPosition () const
double Direction () const

Detailed Description

An iterator to traverse a path. Limitation: for the moment it works with straight lines only; it treats all points as on-curve points.


Member Function Documentation

CT_EXPORT bool TPathIterator::Forward ( double  aDistance)

Move forwards by aDistance. Return false if the end of the path is reached, true if not.


The documentation for this class was generated from the following files: