Context.copyPath

Creates a copy of the current path and returns it to the user as a cairo_path_t. See cairo_path_data_t for hints on how to iterate over the returned data structure. 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

class Context
copyPath
()

Return Value

the copy of the current path. The caller owns the returned object and should call cairo_path_destroy() when finished with it.

Meta