public Object Clone() { PMatrixOneScale r = new PMatrixOneScale(); r.Multiply(this); return(r); }
public override bool Equals(object obj) { PMatrixOneScale otherMatrix = (PMatrixOneScale)obj; return(offsetX == otherMatrix.offsetX && offsetY == otherMatrix.offsetY && scale == otherMatrix.scale); }
public Object Clone() { PMatrixOneScale r = new PMatrixOneScale(); r.Multiply(this); return r; }
public void Multiply(PMatrixOneScale aTransform) { ScaleBy(aTransform.scale); offsetX = aTransform.scale * offsetX + aTransform.OffsetX; offsetY = aTransform.scale * offsetY + aTransform.OffsetY; }