Package: cairo

Function cairo:scaled-font-reference

Lambda List

cairo:scaled-font-reference (font)

Arguments

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

Return Value

The referenced cairo:scaled-font-t instance.

Details

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

See also

2024-1-28