zoomBy

fun zoomBy(factor: Float, focalScreen: Offset): Viewport

Zoom by factor keeping the world point under focalScreen anchored to the same screen pixel. Same math as compose-infinite-canvas, just lifted onto an immutable value type.