Struct flo_canvas::Canvas [] [src]

pub struct Canvas { /* fields omitted */ }

A canvas is an abstract interface for drawing graphics. It doesn't actually provide a means to render anything, but rather a way to describe how things should be drawn and pass those on to a renderer elsewhere.

Methods

impl Canvas
[src]

[src]

Creates a new, blank, canvas

[src]

Sends some new drawing commands to this canvas

[src]

Provides a way to draw on this canvas via a GC

[src]

Creates a stream for reading the instructions from this canvas

[src]

Retrieves the list of drawing actions in this canvas

Trait Implementations

impl Drop for Canvas
[src]

[src]

Executes the destructor for this type. Read more

Auto Trait Implementations

impl Send for Canvas

impl Sync for Canvas