Package: cairo

Function cairo-reference

Lambda List

cairo-reference (cr)

Arguments

cr -- a cairo-t context

Return Value

The referenced cairo-t context.

Details

Increases the reference count on cr by one. This prevents cr 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-get-reference-count function.
 

See also

2021-12-12