Struct font_atlas::rasterize::Bitmap [] [src]

pub struct Bitmap { /* fields omitted */ }

A rectangular 2d-array of u8 where the values 0 through 255 represent shades of grey.

Methods

impl Bitmap
[src]

[src]

Return an iterator over the lines of the bitmap going from top to bottom.

[src]

The width of this bitmap

[src]

The height of this bitmap

[src]

Gain access to the underlying slice of u8.

[src]

Get the underlying buffer of u8

Trait Implementations

impl Debug for Bitmap
[src]

[src]

Formats the value using the given formatter.

impl Buffer2d for Bitmap
[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

impl ResizeBuffer for Bitmap
[src]

[src]