Package: cairo

Function cairo-scaled-font-reference

Lambda List

cairo-scaled-font-reference (scaled-font)

Arguments

scaled-font -- a cairo-scaled-font-t instance, may be NULL in which case this function does nothing

Return Value

The referenced cairo-scaled-font-t instance.

Details

Increases the reference count on scaled-font by one. This prevents scaled-font from being destroyed until a matching call to the function cairo-scaled-font-destroy is made.

The number of references to a cairo-scaled-font-t instance can be get using the function cairo-scaled-font-get-reference-count. cairo-scaled-font-get-reference-count
 

See also

2020-12-28