The OpenD Programming Language

Path

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

Constructors

this
this(cairo_path_t* path)

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.

Members

Functions

opSlice
PathRange opSlice()

Get a PathRange for this path to iterate the paths elements.

Properties

debugging
bool debugging [@property setter]

Enable / disable memory management debugging for this Path instance. Only available if both cairoD and the cairoD user code were compiled with "debug=RefCounted"

debugging
bool debugging [@property getter]

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
cairo_path_t* nativePointer [@property getter]

The underlying cairo_path_t* handle

Meta