Package: cairo

Function cairo-path-destroy

Lambda List

cairo-path-destroy (path)

Arguments

path -- a cairo-path-t structure previously returned by either the cairo-copy-path or cairo-copy-path-flat functions

Details

Immediately releases all memory associated with path. After a call to the cairo-path-destroy function the path pointer is no longer valid and should not be used further.

Note

The cairo-path-destroy function should only be called with a pointer to a cairo-path-t structure returned by a Cairo function. Any path that is created manually (i.e. outside of Cairo) should be destroyed manually as well.
 

See also

2021-12-12