Package: cairo

Function cairo:reference

Lambda List

cairo:reference (cr)

Arguments

cr -- a cairo:context-t instance

Return Value

The referenced cairo:context-t instance.

Details

Increases the reference count on the Cairo context by one. This prevents the Cairo context from being destroyed until a matching call to the cairo:destroy function is made. The number of references to a Cairo context can be get using the cairo:reference-count function.
 

See also

2025-1-2