pub fn render_canvas_offscreen<'a, DrawStream, RenderContext>(
context: &'a mut RenderContext,
width: usize,
height: usize,
scale: f32,
actions: DrawStream,
) -> impl 'a + Future<Output = Vec<u8>>Expand description
Renders a canvas in an offscreen context, returning the resulting bitmap