Trait pangocairo::prelude::PangoCairoFontExt
source · pub trait PangoCairoFontExt: IsA<Font> + Sealed + 'static {
// Provided method
fn scaled_font(&self) -> Option<ScaledFont> { ... }
}
Expand description
Provided Methods§
sourcefn scaled_font(&self) -> Option<ScaledFont>
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.