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 rect(&mut self, rect: Rect, color: Color); fn pixel(&mut self, point: Point, color: Color); fn line(&mut self, start: Point, end: Point, color: Color); }
Required Methods
fn clear(&mut self, color: Color)
fn char(&mut self, pos: Point, c: char, color: Color)
fn rect(&mut self, rect: Rect, color: Color)
fn pixel(&mut self, point: Point, color: Color)
fn line(&mut self, start: Point, end: Point, color: Color)
Implementors
impl<'a> Renderer for WindowRenderer<'a>