Matrix3x2d.scaleAround
- Matrix3x2d scaleAround(double sx, double sy, double ox, double oy, Matrix3x2d dest)
- Matrix3x2d scaleAround(double sx, double sy, double ox, double oy)
- Matrix3x2d scaleAround(double factor, double ox, double oy, Matrix3x2d dest)
- Matrix3x2d scaleAround(double factor, double ox, double oy)
struct Matrix3x2d
ref public return
scaleAround
doml matrix_3x2d Matrix3x2d
constructorsfunctionsvariables
Apply scaling to this matrix by scaling the base axes by the given <code>factor</code> while using <code>(ox, oy)</code> as the scaling origin. <p> If <code>M</code> is <code>this</code> matrix and <code>S</code> the scaling matrix, then the new matrix will be <code>M * S</code>. So when transforming a vector <code>v</code> with the new matrix by using <code>M * S * v</code>, the scaling will be applied first! <p> This method is equivalent to calling: <code>translate(ox, oy).scale(factor).translate(-ox, -oy)</code>
@param factor the scaling factor for all axes @param ox the x coordinate of the scaling origin @param oy the y coordinate of the scaling origin @return this