Multiply() 공개 정적인 메소드

public static Multiply ( AffineTransform a, AffineTransform b, AffineTransform into ) : AffineTransform
a AffineTransform
b AffineTransform
into AffineTransform
리턴 AffineTransform
예제 #1
0
 public Transform PreConcatenate(Transform other)
 {
     if (this.Generality < other.Generality)
     {
         return(other.Concatenate(this));
     }
     if (other is AffineTransform)
     {
         return(Transforms.Multiply((AffineTransform)other, this, new AffineTransform()));
     }
     else
     {
         AffineTransform oaff = new AffineTransform(other);
         return(Transforms.Multiply(oaff, this, oaff));
     }
 }
예제 #2
0
 public Transform TranslateX(float tx)
 {
     return(Transforms.Multiply(this, 1, 0, 0, 1, tx, 0, this));
 }
예제 #3
0
 public Transform TranslateY(float ty)
 {
     return(Transforms.Multiply(this, 1, 0, 0, 1, 0, ty, this));
 }
예제 #4
0
        public Transform Rotate(float angle)
        {
            float sina = FloatMath.Sin(angle), cosa = FloatMath.Cos(angle);

            return(Transforms.Multiply(cosa, sina, -sina, cosa, 0, 0, this, this));
        }