예제 #1
0
 public void MultiplyTransform(Matrix matrix, MatrixOrder order)
 {
     if (matrix == null)
     {
         throw new ArgumentNullException("matrix");
     }
     textureTransform.Multiply(matrix, order);
     changed = true;
 }
예제 #2
0
 /// <summary>
 /// Rotates the local geometric transform by the specified amount in the specified order.
 /// </summary>
 public void RotateTransform(float angle, MatrixOrder order) => transform.Rotate(angle, order);
예제 #3
0
 /// <summary>
 /// Scales the local geometric transform by the specified amounts in the specified order.
 /// </summary>
 public void ScaleTransform(float sx, float sy, MatrixOrder order) => transform.Scale(sx, sy, order);
예제 #4
0
 /// <summary>
 /// Translates the local geometrical transform by the specified dimensions in the specified order.
 /// </summary>
 public void TranslateTransform(float dx, float dy, MatrixOrder order) => transform.Translate(dx, dy, order);
예제 #5
0
 /// <summary>
 /// Multiplies the transform matrix for this <see cref='Pen'/> by the specified <see cref='Matrix'/> in the specified order.
 /// </summary>
 public void MultiplyTransform(Matrix matrix, MatrixOrder order) => transform.Multiply(matrix, order);
예제 #6
0
 public void TranslateTransform(float dx, float dy, MatrixOrder order)
 {
     textureTransform.Translate(dx, dy, order);
     changed = true;
 }
예제 #7
0
 public void ScaleTransform(float sx, float sy, MatrixOrder order)
 {
     textureTransform.Scale(sx, sy, order);
     changed = true;
 }
예제 #8
0
 public void RotateTransform(float angle, MatrixOrder order)
 {
     textureTransform.Rotate(angle, order);
     changed = true;
 }