Esempio n. 1
0
 public void Transform(Matrix3X3 matrix)
 {
 }
Esempio n. 2
0
 public void Transform(Matrix3X3 matrix)
 {
     _control1 = matrix.Transform(_control1);
     _control2 = matrix.Transform(_control2);
     _vertex   = matrix.Transform(_vertex);
 }
Esempio n. 3
0
        public static Matrix3X3 PreScale(Matrix3X3 matrix, float scaleX, float scaleY, float px, float py)
        {
            var tmp = GetTranslate(-px, -py) * GetScale(scaleX, scaleY) * GetTranslate(px, py);

            return(matrix * tmp);
        }
Esempio n. 4
0
 public static Matrix3X3 PreScale(Matrix3X3 matrix, float scaleX, float scaleY)
 {
     return(matrix * GetScale(scaleX, scaleY));
 }
Esempio n. 5
0
 public static Matrix3X3 PreTranslate(Matrix3X3 matrix, float dx, float dy)
 {
     return(matrix * GetTranslate(dx, dy));
 }
Esempio n. 6
0
 public static Matrix3X3 PreConcat(Matrix3X3 matrix, Matrix3X3 transformAnimationMatrix)
 {
     return(matrix * transformAnimationMatrix);
 }