Struct orbtk::window::WindowRenderer [] [src]

pub struct WindowRenderer<'a> { /* fields omitted */ }

Methods

impl<'a> WindowRenderer<'a>
[src]

Trait Implementations

impl<'a> Renderer for WindowRenderer<'a>
[src]

Get width

Get height

Access the pixel buffer

Access the pixel buffer mutably

Flip the buffer

Draw a character, using the loaded font

Draw a pixel

Draw a piece of an arc. Negative radius will fill in the inside

Draw a circle. Negative radius will fill in the inside

Draw a line

Draw a path (GraphicsPath)

Set entire window to a color

Sets the whole window to black

Draw rectangle

Display an image

Draw a linear gradient in a rectangular region

Draw a rect with rounded corners

impl<'a> Drop for WindowRenderer<'a>
[src]

A method called when the value goes out of scope. Read more