Struct Path

Reference counted wrapper around cairo_path_t. This struct can only be obtained from cairoD. It cannot be created manually.

Constructors

Name Description
this Create a Path from a existing cairo_path_t*. Path is a reference-counted type. It will call cairo_path_destroy when there are no more references to the path.

Fields

Name Type Description
_data std.typecons.__T10RefCountedTS5cairo5cairo4Path7PayloadVE3std8typecons24RefCountedAutoInitializei0Z.RefCounted

Properties

Name Type Description
debugging [get, set] bool Enable / disable memory management debugging for this Path instance. Only available if both cairoD and the cairoD user code were compiled with "debug=RefCounted"
nativePointer [get] cairo_path_t* The underlying cairo_path_t* handle
data [get] cairo_path_data_t*
num_data [get] int
status [get] cairo_status_t

Methods

Name Description
opAssign
opSlice Get a PathRange for this path to iterate the paths elements.

Inner structs

Name Description
Payload

Aliases

Name Description
Data

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