PangoCairo.Font

g GObject.GInterface GObject.GInterface PangoCairo.Font PangoCairo.Font GObject.GInterface->PangoCairo.Font

Implementations:

None

Methods

get_scaled_font ()

Virtual Methods

None

Properties

None

Signals

None

Fields

None

Class Details

class PangoCairo.Font
Bases:

GObject.GInterface

PangoCairoFont is an interface exported by fonts for use with Cairo.

The actual type of the font will depend on the particular font technology Cairo was compiled to use.

New in version 1.18.

get_scaled_font()[source]
Returns:

the cairo_scaled_font_t used by self

Return type:

cairo.ScaledFont or None

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

New in version 1.18.