pub fn export_pixels(size: Size, scale: f64) -> (u32, u32)Expand description
The pixel size a drawing of size points renders to at scale pixels per point: each side
rounded up, so a drawing never loses its last partial pixel. Shared by day-core’s limit
check and every backend, so the bitmap a backend allocates is the one day-core approved.