Trait pango::prelude::FontsetExt [−][src]
pub trait FontsetExt: 'static { fn foreach<P: FnMut(&Fontset, &Font) -> bool>(&self, func: P); fn font(&self, wc: u32) -> Option<Font>; fn metrics(&self) -> Option<FontMetrics>; }
Expand description
Required methods
fn metrics(&self) -> Option<FontMetrics>
fn metrics(&self) -> Option<FontMetrics>
Get overall metric information for the fonts in the fontset.
Returns
a FontMetrics
object. The caller must call pango_font_metrics_unref()
when finished using the object.