Skip to main content

rasterize

Function rasterize 

Source
pub fn rasterize(shapes: &[Shape], rect: Rect, scale: f32) -> Option<ImageData>
Expand description

Draws shapes into a picture of rect at scale pixels per point, smoothed.