pub fn centred_view(
scene: (u32, u32),
output: (u32, u32),
) -> (PixelRect, (i16, i16))Expand description
The largest centred part of a scene-sized frame with an output’s
shape, cut at whole pixels: what a screen of that size shows without
scaling (X11), and where in the screen it goes when the scene is
smaller.