Module: PangoCairo::Font

Defined in:


Pango::CairoFont 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.

Instance Method Summary collapse

Instance Method Details


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


  • (cairo::ScaledFont)

    the #cairo_scaled_font_t used by font, or nil if font is nil.