Skip to main content

scaled_size

Function scaled_size 

Source
pub(crate) fn scaled_size(w: u32, h: u32) -> (u32, u32)
Expand description

The size a w×h window is shown at: its long edge at most MAX_IMAGE_EDGE, never enlarged.