Package: cairo

Function cairo-font-face-reference

Lambda List

cairo-font-face-reference (font-face)

Arguments

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

Return Value

The referenced cairo-font-face-t instance.

Details

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

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

See also

2020-12-28