pub trait FontExt: 'static {
    // Required method
    fn scaled_font(&self) -> Option<ScaledFont>;
}
Expand description

Trait containing all Font methods.

Implementors

Font

Required 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

Implementors§

source§

impl<O: IsA<Font>> FontExt for O