Function Context.copyPathFlat
Gets a flattened copy of the current path and returns it to
the user as a Path
. See PathRange
for hints
on how to iterate over the returned data structure.
This function is like copyPath
() except that any
curves in the path will be approximated with piecewise-linear
approximations, (accurate to within the current tolerance
value).
That is, the result is guaranteed to not have any elements of
type CAIRO_PATH_CURVE_TO which will instead be replaced by
a series of CAIRO_PATH_LINE_TO elements.
Prototype
Path copyPathFlat();
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 |