pub fn canvas_dimensions() -> (u32, u32)
Returns (width, height) of the canvas in pixels.
(width, height)