Skip to main content

fit_zoom

Function fit_zoom 

Source
pub fn fit_zoom(image: [f64; 2], rect_px: Vec2) -> f64
Expand description

The zoom that shows a whole image in a view of rect_px physical pixels.