Trait pangocairo::prelude::PangoCairoFontExt

source ·
pub trait PangoCairoFontExt: IsA<Font> + Sealed + 'static {
    // Provided method
    fn scaled_font(&self) -> Option<ScaledFont> { ... }
}
Expand description

Trait containing all Font methods.

§Implementors

Font

Provided Methods§

source

fn scaled_font(&self) -> Option<ScaledFont>

Gets the cairo::ScaledFont used by @self. The scaled font can be referenced and kept using cairo_scaled_font_reference().

§Returns

the cairo::ScaledFont used by @self

Object Safety§

This trait is not object safe.

Implementors§