Trait orbtk::renderer::Renderer [] [src]

pub trait Renderer {
    fn clear(&mut self, color: Color);
    fn char(&mut self, pos: Point, c: char, color: Color);
    fn image(&mut self, pos: Point, image: &Image);
    fn pixel(&mut self, point: Point, color: Color);
    fn arc(&mut self, center: Point, radius: i32, parts: u8, color: Color);
    fn circle(&mut self, center: Point, radius: i32, color: Color);
    fn line(&mut self, start: Point, end: Point, color: Color);
    fn rect(&mut self, rect: Rect, color: Color);
    fn linear_gradient(&mut self,
                       bounded_area: Rect,
                       start: Point,
                       end: Point,
                       start_color: Color,
                       end_color: Color); fn rounded_rect(&mut self,
                    rect: Rect,
                    radius: u32,
                    filled: bool,
                    color: Color) { ... } }

Required Methods

Provided Methods

Implementors