cairo.path

Module for [Path] class

class Path

Types 1

A data structure for holding a path. This data structure serves as the return value for cairo.context.Context.copyPath and cairo.context.Context.copyPathFlat as well the input value for cairo.context.Context.appendPath.

See #cairo_path_data_t for hints on how to iterate over the actual data within the path.

The num_data member gives the number of elements in the data array. This number is larger than the number of independent path portions (defined in #cairo_path_data_type_t), since the data includes both headers and coordinates for each portion.

Methods
void * _cPtr(Flag!"Dup" dup = No.Dup) nothrow
GType _getGType() static nothrow
GType _gType() @property nothrow
Path self() nothrowReturns `this`, for use in `with` statements.
cairo.types.Status status() @property nothrowGet `status` field. Returns: the current error status
void status(cairo.types.Status propval) @property nothrowSet `status` field. Params: propval = the current error status
cairo.path_data.PathData data() @property nothrowGet `data` field. Returns: the elements in the path
int numData() @property nothrowGet `numData` field. Returns: the number of elements in the data array
void numData(int propval) @property nothrowSet `numData` field. Params: propval = the number of elements in the data array
Constructors
this(cairo.types.Status status = cairo.types.Status.init, int numData = int.init)Create a `path.Path` boxed type. Params: status = the current error status numData = the number of elements in the data array
this(void * ptr, Flag!"Take" take)