applyZoomMatrix

fun applyZoomMatrix(newMatrix: Matrix, animation: Boolean)(source)

Applies a new zoom matrix to the screen. Matrix should only contain a scale + translation.

Parameters

newMatrix

The new zoom matrix

animation

If this zoom is part of an animation, as then it will not auto zoom after we are done