Trait pango::prelude::ContextExt
[−]
[src]
pub trait ContextExt { fn changed(&self); fn get_base_dir(&self) -> Direction; fn get_base_gravity(&self) -> Gravity; fn get_font_description(&self) -> Option<FontDescription>; fn get_font_map(&self) -> Option<FontMap>; fn get_gravity(&self) -> Gravity; fn get_gravity_hint(&self) -> GravityHint; fn get_language(&self) -> Option<Language>; fn get_matrix(&self) -> Option<Matrix>; fn get_metrics<'a, 'b, P: Into<Option<&'a FontDescription>>, Q: Into<Option<&'b Language>>>(
&self,
desc: P,
language: Q
) -> Option<FontMetrics>; fn get_serial(&self) -> u32; fn load_font(&self, desc: &FontDescription) -> Option<Font>; fn load_fontset(
&self,
desc: &FontDescription,
language: &Language
) -> Option<Fontset>; fn set_base_dir(&self, direction: Direction); fn set_base_gravity(&self, gravity: Gravity); fn set_font_description(&self, desc: &FontDescription); fn set_font_map(&self, font_map: &FontMap); fn set_gravity_hint(&self, hint: GravityHint); fn set_language(&self, language: &Language); fn set_matrix<'a, P: Into<Option<&'a Matrix>>>(&self, matrix: P); }
Required Methods
fn changed(&self)
fn get_base_dir(&self) -> Direction
fn get_base_gravity(&self) -> Gravity
fn get_font_description(&self) -> Option<FontDescription>
fn get_font_map(&self) -> Option<FontMap>
fn get_gravity(&self) -> Gravity
fn get_gravity_hint(&self) -> GravityHint
fn get_language(&self) -> Option<Language>
fn get_matrix(&self) -> Option<Matrix>
fn get_metrics<'a, 'b, P: Into<Option<&'a FontDescription>>, Q: Into<Option<&'b Language>>>(
&self,
desc: P,
language: Q
) -> Option<FontMetrics>
&self,
desc: P,
language: Q
) -> Option<FontMetrics>
fn get_serial(&self) -> u32
fn load_font(&self, desc: &FontDescription) -> Option<Font>
fn load_fontset(
&self,
desc: &FontDescription,
language: &Language
) -> Option<Fontset>
&self,
desc: &FontDescription,
language: &Language
) -> Option<Fontset>