PgCairo.fontGetScaledFont

Gets the cairo_scaled_font_t used by font. The scaled font can be referenced and kept using cairo_scaled_font_reference(). Since 1.18

class PgCairo
static
fontGetScaledFont

Parameters

font PangoCairoFont*

a PangoFont from a PangoCairoFontMap

Return Value

the cairo_scaled_font_t used by font, or NULL if font is NULL.

Meta