Struct graphics_tree::GraphicsTree [] [src]

pub struct GraphicsTree { /* fields omitted */ }

A graphics backend that stores and optimizes commands

Methods

impl GraphicsTree
[src]

[src]

Creates a new graphics tree.

[src]

Returns true if graphics tree is empty.

[src]

Clears all graphics.

[src]

Draws graphics to backend.

Trait Implementations

impl Graphics for GraphicsTree
[src]

The texture type associated with the back-end. Read more

[src]

Clears background with a color. Read more

[src]

Clears stencil buffer with a value, usually 0. Read more

[src]

Renders list of 2d triangles using a solid color. Read more

[src]

Renders list of 2d triangles using a color and a texture. Read more

[src]

Draws a rectangle. Read more

[src]

Draws a polygon. Read more

[src]

Draws a tweened polygon using linear interpolation. Read more

[src]

Draws image. Read more

[src]

Draws ellipse. Read more

[src]

Draws line. Read more

[src]

Draws circle arc. Read more

[src]

Draws deformed image. Read more