cairo_scaled_font_t

A #cairo_scaled_font_t is a font scaled to a particular size and device resolution. A #cairo_scaled_font_t 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 <firstterm>font backend</firstterm> they use. The type of a scaled font can be queried using cairo.scaled_font.ScaledFont.getFontType.

Memory management of #cairo_scaled_font_t is done with cairo.scaled_font.ScaledFont.reference and cairo.scaled_font.ScaledFont.destroy.

struct cairo_scaled_font_t