Struct orbtk::window::WindowRenderer
[−]
[src]
pub struct WindowRenderer<'a> { /* fields omitted */ }
Methods
impl<'a> WindowRenderer<'a>
[src]
fn new(inner: &'a mut Window, font: &'a Option<Font>) -> WindowRenderer<'a>
Trait Implementations
impl<'a> Renderer for WindowRenderer<'a>
[src]
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,
bounding_area: Rect,
start: Point,
end: Point,
start_color: Color,
end_color: Color)
bounding_area: Rect,
start: Point,
end: Point,
start_color: Color,
end_color: Color)