Context.pathDestroy

Immediately releases all memory associated with path. After a call to cairo_path_destroy() the path pointer is no longer valid and should not be used further. Note: cairo_path_destroy() should only be called with a pointer to a cairo_path_t returned by a cairo function. Any path that is created manually (ie. outside of cairo) should be destroyed manually as well. Since 1.0

class Context
static
void
pathDestroy

Parameters

path cairo_path_t*

a path previously returned by either cairo_copy_path() or cairo_copy_path_flat().

Meta