[][src]Crate crow

A pixel perfect 2D graphics library

Re-exports

pub use glutin;
pub use image;

Modules

color

A collection of useful color matrices.

target

A collect of useful draw modifiers.

Structs

Context

A struct storing the global state which is used for all operations which require access to the GPU.

DrawConfig

How exactly should a texture be drawn?

ErrDontCare

An error in cases where dealing with errors is hard. This will be slowly replaced by useful error types later on.

Texture

A two dimensional texture stored in video memory.

WindowSurface

A handle which can be used to draw to the window.

Enums

BlendMode

Used in DrawConfig to specify how each pixel should be draw onto the target.

Error

The super type of every error in this crate. If this is used as a return type, the question mark operator can always be used.

LoadTextureError

An error returned by Texture::load.

Traits

DrawTarget

A trait implemented by types upon which can be drawn.