viewportTransform
fun viewportTransform(viewBox: Rectangle, viewport: Rectangle, aspectRatio: AspectRatio): Matrix44(source)
The transform that fits viewBox into viewport following aspectRatio, like the viewBox and preserveAspectRatio attributes of SVG. An empty view box hides the contents.