Struct PathRange

ForwardRange to iterate a cairo path. This range keeps a reference to its Path object, so it can be passed around without thinking about memory management.

Constructors

Name Description
this Constructor to get a PathRange for a Path object. You should usually use Path's opSlice method insted, see the Path documentation for an example.
this

Fields

Name Type Description
path Path
pos int

Properties

Name Type Description
empty [get] bool ForwardRange implementation
front [get] PathElement ForwardRange implementation
save [get] PathRange ForwardRange implementation

Methods

Name Description
opAssign
popFront ForwardRange implementation

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