Skip to main content

png

Function png 

Source
pub fn png(renderer: &mut Renderer, scene: &Scene) -> Result<Vec<u8>, String>
Expand description

Paints a scene’s whole drawing at 1× and encodes it as a PNG, or says why it can’t: see Renderer::drawing.