cairoCopyPath: cairoCopyPath
Description
Creates a copy of the current path and returns it to the user as a
CairoPath
. See CairoPathData
for hints on how to iterate
over the returned data structure.Details
Return value: the copy of the current path. The caller owns the
returned object and should call cairo() when finished
with it.
This function will always return a valid pointer, but the result
will have no data (data==NULL
and
num_data==0
), if either of the following
conditions hold:
In either case, path->status
will be set to
CAIRO_STATUS_NO_MEMORY
(regardless of what the error status in
cr
might have been).
[CairoPath
] the copy of the current path. The caller owns the
returned object and should call cairo() when finished
with it.
[object Object]
internal