Struct graphics_tree::GraphicsTree [] [src]

pub struct GraphicsTree { /* fields omitted */ }

A graphics backend that stores and optimizes commands

Methods

impl GraphicsTree
[src]

Creates a new graphics tree.

Returns true if graphics tree is empty.

Clears all graphics.

Draws graphics to backend.

Trait Implementations

impl Graphics for GraphicsTree
[src]

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

Clears background with a color. Read more

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

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

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

Draws a rectangle. Read more

Draws a polygon. Read more

Draws a tweened polygon using linear interpolation. Read more

Draws image. Read more

Draws ellipse. Read more

Draws line. Read more

Draws circle arc. Read more

Draws deformed image. Read more