calculateViewportTransform

fun calculateViewportTransform(): Matrix44

Calculates effective viewport transformation using viewBox and preserveAspectRatio. As per the SVG 2.0 spec.