@ SuppressWarnings ( "checkstyle:magicnumber" ) public void setScale ( double scaleX , double scaleY ) { final double [ ] tmpScale = new double [ 3 ] ; final double [ ] tmpRot = new double [ 9 ] ; getScaleRotate2x2 ( tmpScale , tmpRot ) ; this . m00 = tmpRot [ 0 ] * scaleX ; this . m01 = tmpRot [ 1 ] * scaleY ; this . m10 = tmpRot [ 3 ] * scaleX ; this . m11 = tmpRot [ 4 ] * scaleY ; }
Change the scale of this matrix . Performs an SVD normalization of this matrix for determining and preserving the rotation .