Struct blit::BlitBuffer [] [src]

pub struct BlitBuffer { /* fields omitted */ }

A data structure holding a color and a mask buffer to make blitting on a buffer real fast.

Methods

impl BlitBuffer
[src]

[src]

Blit the image on a buffer using bitwise operations--this is a lot faster than blit_with_mask_color.

[src]

Blit a section of the image on a buffer.

[src]

Create a instance from a buffer of Color data.

[src]

Saves the buffer to a file at the path specified. A custom binary format is used for this.

[src]

Create a new buffer from a file at the path specified. The file needs to be the custom binary format.

[src]

Create a new buffer from a file at the path specified. The array needs to be the custom binary format.

[src]

Get the size of the buffer in pixels.

Trait Implementations

impl Debug for BlitBuffer
[src]

[src]

Formats the value using the given formatter.