cairo_destroy3cairo_destroyfree a cairo_t
void cairo_destroy (cairo_t *cr)cr :a cairo_tDescriptionfunctionscairo_destroy
Decreases the reference of a a cairo_t. If the refcount drops to zero, all associated resources will be freed.
Saved states on the stack which were not restored with cairo_restore will be destroyed, too.