Struct unifont_bitmap::Bitmap [−][src]
pub struct Bitmap<'a> { /* fields omitted */ }
Expand description
A single 8x16 or 16x16 bitmap, corresponding to a single displayed glyph. See the module documentation for a cryptic warning about combining characters, invisible characters, etc.
Implementations
Returns the bytes that make up the given bitmap. Each byte contains 8
pixels. The highest order bit of the byte is the leftmost pixel, the
next highest order bit is the next pixel, and so on. If the glyph is
wide (see is_wide
) then there are two bytes per row, otherwise there
is one byte per row.
Returns true
if the bitmap is wide (16x16), false
if it is narrow
(8x16).