Struct Graphic
aci_png
pub struct Graphic { /* fields omitted */ }
A graphic (image)
impl Graphic
fn bgra(&mut self)
Convert self into a BGRA graphic.
self
fn rgba(&mut self)
Convert self into a RGBA graphic.
fn as_slice(&self) -> (u32, u32, &[u32])
Get the graphic as a slice (w, h, [pixels])
(w, h, [pixels])