[][src]Trait pango::RendererExt

pub trait RendererExt: 'static {
    fn activate(&self);
fn deactivate(&self);
fn draw_error_underline(&self, x: i32, y: i32, width: i32, height: i32);
fn draw_glyph<P: IsA<Font>>(&self, font: &P, glyph: Glyph, x: f64, y: f64);
fn draw_glyph_item(
        &self,
        text: Option<&str>,
        glyph_item: &mut GlyphItem,
        x: i32,
        y: i32
    );
fn draw_glyphs<P: IsA<Font>>(
        &self,
        font: &P,
        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(&self, part: RenderPart, color: Option<&Color>);
fn set_matrix(&self, matrix: Option<&Matrix>); }

Required methods

fn activate(&self)

fn deactivate(&self)

fn draw_error_underline(&self, x: i32, y: i32, width: i32, height: i32)

fn draw_glyph<P: IsA<Font>>(&self, font: &P, glyph: Glyph, x: f64, y: f64)

fn draw_glyph_item(
    &self,
    text: Option<&str>,
    glyph_item: &mut GlyphItem,
    x: i32,
    y: i32
)

fn draw_glyphs<P: IsA<Font>>(
    &self,
    font: &P,
    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(&self, part: RenderPart, color: Option<&Color>)

fn set_matrix(&self, matrix: Option<&Matrix>)

Loading content...

Implementors

impl<O: IsA<Renderer>> RendererExt for O[src]

Loading content...