Module quicksilver::graphics[][src]

A module to draw 2D graphics in a window It also includes image loading

Structs

Animation

A linear series of images with a constant frame delay

Atlas

An image atlas that allows a single image file to represent multiple individual images

AtlasLoader

A Future to load an Atlas

Color

An RGBA color represented by normalized floats

Draw

A single drawable item, with a transform, a blend color, and a depth

Font

An in-memory TTF font that can render text on demand

FontLoader

A future to load a font

GpuTriangle

A triangle to draw to the GPU

Image

An image that can be drawn to the screen

ImageLoader

A future for loading images

Surface

A possible render target that can be drawn to the screen

Vertex

A vertex for drawing items to the GPU

View

A view into the world, used as a camera and a viewport

Window

The window currently in use

WindowBuilder

A builder that constructs a Window

Enums

AtlasError

An error generated when trying to load an atlas

AtlasItem

An individual named item of an Atlas

BlendMode

The way the colors are blended when drawing on top of other color

ImageError

An error generated while loading an image

ImageScaleStrategy

The way the images should change when drawn at a scale

PixelFormat

Pixel formats for use with loading raw images

ResizeStrategy

The way to adjust the content when the size of the window changes

Traits

Drawable

Some object that can be drawn to the screen