Пример #1
0
 public void Transform(Matrix3X3 matrix)
 {
 }
Пример #2
0
 public void Transform(Matrix3X3 matrix)
 {
     _control1 = matrix.Transform(_control1);
     _control2 = matrix.Transform(_control2);
     _vertex   = matrix.Transform(_vertex);
 }
Пример #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);
        }
Пример #4
0
 public static Matrix3X3 PreScale(Matrix3X3 matrix, float scaleX, float scaleY)
 {
     return(matrix * GetScale(scaleX, scaleY));
 }
Пример #5
0
 public static Matrix3X3 PreTranslate(Matrix3X3 matrix, float dx, float dy)
 {
     return(matrix * GetTranslate(dx, dy));
 }
Пример #6
0
 public static Matrix3X3 PreConcat(Matrix3X3 matrix, Matrix3X3 transformAnimationMatrix)
 {
     return(matrix * transformAnimationMatrix);
 }