Skip to main content

scale_to_height

Function scale_to_height 

Source
pub fn scale_to_height(size: ImageSize, height: u32) -> Option<ImageSize>
Expand description

Scales a size to an exact height and rounded matching width.