Trait ux::prelude::RendererExt[][src]

pub trait RendererExt: 'static {
Show methods pub fn activate(&self);
pub fn deactivate(&self);
pub fn draw_error_underline(&self, x: i32, y: i32, width: i32, height: i32);
pub fn draw_glyph<P>(&self, font: &P, glyph: u32, x: f64, y: f64)
    where
        P: IsA<Font>
;
pub fn draw_glyph_item(
        &self,
        text: Option<&str>,
        glyph_item: &mut GlyphItem,
        x: i32,
        y: i32
    );
pub fn draw_glyphs<P>(
        &self,
        font: &P,
        glyphs: &mut GlyphString,
        x: i32,
        y: i32
    )
    where
        P: IsA<Font>
;
pub fn draw_layout(&self, layout: &Layout, x: i32, y: i32);
pub fn draw_layout_line(&self, line: &LayoutLine, x: i32, y: i32);
pub fn draw_rectangle(
        &self,
        part: RenderPart,
        x: i32,
        y: i32,
        width: i32,
        height: i32
    );
pub fn draw_trapezoid(
        &self,
        part: RenderPart,
        y1_: f64,
        x11: f64,
        x21: f64,
        y2: f64,
        x12: f64,
        x22: f64
    );
pub fn get_alpha(&self, part: RenderPart) -> u16;
pub fn get_color(&self, part: RenderPart) -> Option<Color>;
pub fn get_layout(&self) -> Option<Layout>;
pub fn get_layout_line(&self) -> Option<LayoutLine>;
pub fn get_matrix(&self) -> Option<Matrix>;
pub fn part_changed(&self, part: RenderPart);
pub fn set_alpha(&self, part: RenderPart, alpha: u16);
pub fn set_color(&self, part: RenderPart, color: Option<&Color>);
pub fn set_matrix(&self, matrix: Option<&Matrix>);
}

Required methods

pub fn activate(&self)[src]

pub fn deactivate(&self)[src]

pub fn draw_error_underline(&self, x: i32, y: i32, width: i32, height: i32)[src]

pub fn draw_glyph<P>(&self, font: &P, glyph: u32, x: f64, y: f64) where
    P: IsA<Font>, 
[src]

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

pub fn draw_glyphs<P>(&self, font: &P, glyphs: &mut GlyphString, x: i32, y: i32) where
    P: IsA<Font>, 
[src]

pub fn draw_layout(&self, layout: &Layout, x: i32, y: i32)[src]

pub fn draw_layout_line(&self, line: &LayoutLine, x: i32, y: i32)[src]

pub fn draw_rectangle(
    &self,
    part: RenderPart,
    x: i32,
    y: i32,
    width: i32,
    height: i32
)
[src]

pub fn draw_trapezoid(
    &self,
    part: RenderPart,
    y1_: f64,
    x11: f64,
    x21: f64,
    y2: f64,
    x12: f64,
    x22: f64
)
[src]

pub fn get_alpha(&self, part: RenderPart) -> u16[src]

pub fn get_color(&self, part: RenderPart) -> Option<Color>[src]

pub fn get_layout(&self) -> Option<Layout>[src]

pub fn get_layout_line(&self) -> Option<LayoutLine>[src]

pub fn get_matrix(&self) -> Option<Matrix>[src]

pub fn part_changed(&self, part: RenderPart)[src]

pub fn set_alpha(&self, part: RenderPart, alpha: u16)[src]

pub fn set_color(&self, part: RenderPart, color: Option<&Color>)[src]

pub fn set_matrix(&self, matrix: Option<&Matrix>)[src]

Loading content...

Implementors

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

Loading content...