Package: cairo

CStruct cairo-path-t

Details

A data structure for holding a path. This data structure serves as the return value for the cairo-copy-path and cairo-copy-path-flat functions as well the input value for the cairo-append-path function.

See the cairo-path-data-t structure 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 the cairo-path-data-type-t structure), since the data includes both headers and coordinates for each portion.
(defcstruct cairo-path-t
  (status cairo-status-t)
  (data (:pointer (:pointer (:struct cairo-path-data-t))))
  (num-data :int))  
status
The current cairo-status-t error status.
data
The elements of type cairo-path-data-t in the path.
num-data
An integer with the number of elements in the data array.
 

See also

2021-12-12