pub fn rasterize(prims: &[Prim], w: u32, h: u32, background: Rgba) -> Vec<u8> ⓘ
Rasterises primitives to straight RGBA8 (w*h*4 bytes) over background. Empty for a zero or oversized image. Text primitives are skipped.
w*h*4
background