Context.reference

Increases the reference count on cr by one. This prevents cr from being destroyed until a matching call to cairo_destroy() is made. The number of references to a cairo_t can be get using cairo_get_reference_count().

class Context
reference
()

Return Value

Type: Context

the referenced cairo_t.

Meta