pub fn render_bitmap(ops: Vec<DrawOp>, size: Size, scale: f64) -> RenderBitmap ⓘExpand description
Replay ops into an offscreen bitmap of size points at scale pixels per point, through
the toolkit’s own canvas painter. Resolves with a Bitmap like a decode does, so
image(&bitmap), Draw::image and Bitmap::encode all take it. Apps reach this through
Drawing::to_bitmap.