public void TranslateTransform(float dx, float dy) { if (matrix == null) { matrix = new MatrixX(); } matrix.Translate(dx, dy); }
public void RotateTransform(float angle) { if (matrix == null) { matrix = new MatrixX(); } matrix.Rotate(angle); }
public void ScaleTransform(float sx, float sy) { if (matrix == null) { matrix = new MatrixX(); } matrix.Scale(sx, sy); }
public void ResetTransform() { if (matrix == null) { matrix = new MatrixX(); } matrix.Reset(); }
public void MultiplyTransform(MatrixX matrix, MatrixOrderX order) { if (this.matrix == null) { this.matrix = new MatrixX(); } this.matrix.Multiply(matrix, order); }
public void Multiply(MatrixX m, MatrixOrderX order) { if (order == MatrixOrderX.Prepend) { MatrixFP m1 = new MatrixFP(m.matrix); m1.Multiply(matrix); matrix = m1; } else { matrix.Multiply(m.matrix); } }
public void MultiplyTransform(MatrixX matrix, MatrixOrderX order) { this.matrix.Multiply(matrix, order); }
public void MultiplyTransform(MatrixX matrix) { MultiplyTransform(matrix, MatrixOrderX.Prepend); }
public void Multiply(MatrixX m) { Multiply(m, MatrixOrderX.Prepend); }
public override bool Equals(object obj) { MatrixX m = obj as MatrixX; return(m != null && m.matrix.Equals(matrix)); }