#[repr(C)]pub struct fz_bitmap {
pub refs: c_int,
pub w: c_int,
pub h: c_int,
pub stride: c_int,
pub n: c_int,
pub xres: c_int,
pub yres: c_int,
pub samples: *mut c_uchar,
}
Expand description
Bitmaps have 1 bit per component. Only used for creating halftoned versions of contone buffers, and saving out. Samples are stored msb first, akin to pbms.
The internals of this struct are considered implementation details and subject to change. Where possible, accessor functions should be used in preference.
Fields§
§refs: c_int
§w: c_int
§h: c_int
§stride: c_int
§n: c_int
§xres: c_int
§yres: c_int
§samples: *mut c_uchar