pub fn view_box_to_transform(
    view_box: NonZeroRect,
    aspect: AspectRatio,
    img_size: Size
) -> Transform
Expand description

Converts viewBox to Transform.