Trait pango::RendererExt
[−]
[src]
pub trait RendererExt { fn activate(&self); fn deactivate(&self); fn draw_error_underline(&self, x: i32, y: i32, width: i32, height: i32); fn draw_glyph(&self, font: &Font, glyph: Glyph, x: f64, y: f64); fn draw_glyph_item<'a, P: Into<Option<&'a str>>>(
&self,
text: P,
glyph_item: &mut GlyphItem,
x: i32,
y: i32
); fn draw_glyphs(&self, font: &Font, glyphs: &mut GlyphString, x: i32, y: i32); fn draw_layout(&self, layout: &Layout, x: i32, y: i32); fn draw_layout_line(&self, line: &LayoutLine, x: i32, y: i32); fn draw_rectangle(
&self,
part: RenderPart,
x: i32,
y: i32,
width: i32,
height: i32
); fn draw_trapezoid(
&self,
part: RenderPart,
y1_: f64,
x11: f64,
x21: f64,
y2: f64,
x12: f64,
x22: f64
); fn get_color(&self, part: RenderPart) -> Option<Color>; fn get_layout(&self) -> Option<Layout>; fn get_layout_line(&self) -> Option<LayoutLine>; fn get_matrix(&self) -> Option<Matrix>; fn part_changed(&self, part: RenderPart); fn set_color<'a, P: Into<Option<&'a Color>>>(
&self,
part: RenderPart,
color: P
); fn set_matrix<'a, P: Into<Option<&'a Matrix>>>(&self, matrix: P); }
Required Methods
fn activate(&self)
fn deactivate(&self)
fn draw_error_underline(&self, x: i32, y: i32, width: i32, height: i32)
fn draw_glyph(&self, font: &Font, glyph: Glyph, x: f64, y: f64)
fn draw_glyph_item<'a, P: Into<Option<&'a str>>>(
&self,
text: P,
glyph_item: &mut GlyphItem,
x: i32,
y: i32
)
&self,
text: P,
glyph_item: &mut GlyphItem,
x: i32,
y: i32
)
fn draw_glyphs(&self, font: &Font, glyphs: &mut GlyphString, x: i32, y: i32)
fn draw_layout(&self, layout: &Layout, x: i32, y: i32)
fn draw_layout_line(&self, line: &LayoutLine, x: i32, y: i32)
fn draw_rectangle(
&self,
part: RenderPart,
x: i32,
y: i32,
width: i32,
height: i32
)
&self,
part: RenderPart,
x: i32,
y: i32,
width: i32,
height: i32
)
fn draw_trapezoid(
&self,
part: RenderPart,
y1_: f64,
x11: f64,
x21: f64,
y2: f64,
x12: f64,
x22: f64
)
&self,
part: RenderPart,
y1_: f64,
x11: f64,
x21: f64,
y2: f64,
x12: f64,
x22: f64
)