Package: cairo
Function cairo:copy-path-flat
Lambda Listcairo:copy-path-flat (cr) ArgumentsReturn Value The cairo:path-t instance with the copy of the current path. The caller owns the returned object and should call the cairo:path-destroy
function when finished with it. Details
Gets a flattened copy of the current path and returns it to the user as a cairo:path-t instance. See the cairo:path-data-t documentation for more information. This function is like the cairo:copy-path function 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 :curve-to elements which will instead be replaced by a series of :line-to elements. This function will always return a valid path, but the result will have no data, if either of the following conditions hold:
| See also |
2025-1-14