Function fit_view_box

Source
fn fit_view_box(size: Size, rect: NonZeroRect, aspect: AspectRatio) -> Size
Expand description

Fits size into a viewbox.