Module: PangoCairo::Font

Defined in:
(unknown)

Overview

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

#scaled_fontcairo::ScaledFont

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

Returns:

  • (cairo::ScaledFont)

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