redox
pub struct BmpFile { // some fields omitted }
A bitmap
impl BmpFile
fn new(width: usize, height: usize) -> Self
Create a new bitmap
fn default() -> Self
Create a new empty bitmap
fn from_data(file_data: &[u8]) -> Self
Create a bitmap from some data
fn as_slice(&self) -> &[Color]
Convert to slice for drawing
fn width(&self) -> usize
fn height(&self) -> usize