The OpenD Programming Language

PathElement.getPoint

Get a point from this element. Index is zero-based. The number of available points depends on the elements type:

CAIRO_PATH_MOVE_TO:     1 point
CAIRO_PATH_LINE_TO:     1 point
CAIRO_PATH_CURVE_TO:    3 points
CAIRO_PATH_CLOSE_PATH:  0 points
struct PathElement
const
Point!double
getPoint
(
int index
)

Meta