Package: cairo

CStruct cairo:scaled-font-t

Details

The cairo:scaled-font-t structure is a font scaled to a particular size and device resolution. The 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 cairo:scaled-font-type function.

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

See also

2025-1-29