Struct quicksilver::graphics::Canvas [] [src]

pub struct Canvas { /* fields omitted */ }

The way to draw items to the screen, produced by WindowBuilder

Methods

impl Canvas
[src]

[src]

Set the camera view for the Canvas

[src]

Clear the screen to a given color

[src]

Draw the changes made to the screen

[src]

Draw an image with a given center

[src]

Draw an image with a given center blended with a given color

[src]

Draw a transform image blended with a given color

[src]

Draw a rectangle filled with a given color

[src]

Draw a rectangle filled with a given color with a given transform

[src]

Draw a circled filled with a given color

[src]

Draw a circle filled with a given color with a given transformation

[src]

Draw a polygon filled with a given color

[src]

Draw a polygon filled with a given color with a given transform

[src]

Draw a line with a given color

[src]

Draw a transformed line

[src]

Draw a point with a color

[src]

Draw a shape filled with a given color

[src]

Draw a translated shape filled with a given color