Struct PathElement

An element of a cairo Path and the objects iterated by a PathRange.

Constructors

Name Description
this

Fields

Name Type Description
data cairo_path_data_t*
range PathRange

Properties

Name Type Description
type [get] cairo_path_data_type_t The type of this element.

Methods

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

Aliases

Name Description
opIndex Convenience operator overload.

Authors

Johannes Pfau cairoD
Andrej Mitrovic cairoD
cairo team cairo

Copyright

License

cairoD wrapper/bindings Boost License 1.0
cairo LGPL 2.1 / MPL 1.1