Package: cairo

CStruct cairo-scaled-font-t

Details

A cairo-scaled-font-t structure is a font scaled to a particular size and device resolution. A cairo-scaled-font-t structure is most useful for low-level font usage where a library or application wants to cache a reference to a scaled font to speed up the computation of metrics.

There are various types of scaled fonts, depending on the font backend they use. The type of a scaled font can be queried using the function cairo-scaled-font-get-type.

Memory management of the cairo-scaled-font-t structure is done with the functions cairo-scaled-font-reference and cairo-scaled-font-destroy.
 

See also

2020-12-15