Trait pangocairo::prelude::FontExt
source · pub trait FontExt: 'static {
// Required method
fn scaled_font(&self) -> Option<ScaledFont>;
}
Expand description
Required 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