pub fn rasterize(shapes: &[Shape], rect: Rect, scale: f32) -> Option<ImageData>
Draws shapes into a picture of rect at scale pixels per point, smoothed.
rect
scale