monoshrub.AffineTransform.PreConcatenate C# (CSharp) Method

PreConcatenate() public method

public PreConcatenate ( Transform other ) : Transform
other Transform
return Transform
        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);
            }
        }