Matrix Class

Constructors & Destructor | Member Functions | Member Variables

Definition

Line 1760 of System.Windows/Graphics.cm

Inheritance

Constructors & Destructor

public Matrix()
public Matrix(Matrix&& that)
public Matrix(const Matrix& that)
public Matrix(const Rect& rect, const Point& pt)
public Matrix(const RectF& rect, const PointF& pt)
public ~Matrix()

Member Functions

public Result<bool> Invert()
public Result<bool> Multiply(const Matrix& that)
public Result<bool> Multiply(const Matrix& that, MatrixOrder order)
public inline void* NativeMatrix() const
public float OffsetX() const
public float OffsetY() const
public Result<bool> Reset()
public Result<bool> Rotate(float angle)
public Result<bool> Rotate(float angle, MatrixOrder order)
public Result<bool> RotateAt(float angle, const PointF& center)
public Result<bool> RotateAt(float angle, const PointF& center, MatrixOrder order)
public Result<bool> Scale(float scaleX, float scaleY)
public Result<bool> Scale(float scaleX, float scaleY, MatrixOrder order)
public Result<bool> SetElements(float m11, float m12, float m21, float m22, float dx, float dy)
public Result<bool> Shear(float shearX, float shearY)
public Result<bool> Shear(float shearX, float shearY, MatrixOrder order)
public Result<bool> TransformPoints(List<Point>& points)
public Result<bool> TransformPoints(List<PointF>& points)
public Result<bool> Translate(float offsetX, float offsetY)
public Result<bool> Translate(float offsetX, float offsetY, MatrixOrder order)
public void operator=(const Matrix& that)

Member Variables

private void* nativeMatrix

Constructor& Destructor Details

Matrix Constructor

public Matrix()

Definition
Line 1762 of System.Windows/Graphics.cm


Matrix Constructor

public Matrix(Matrix&& that)

Definition
Line 1802 of System.Windows/Graphics.cm


Matrix Constructor

public Matrix(const Matrix& that)

Definition
Line 1792 of System.Windows/Graphics.cm


Matrix Constructor

public Matrix(const Rect& rect, const Point& pt)

Definition
Line 1772 of System.Windows/Graphics.cm


Matrix Constructor

public Matrix(const RectF& rect, const PointF& pt)

Definition
Line 1782 of System.Windows/Graphics.cm


~Matrix Destructor

public ~Matrix()

Definition
Line 1822 of System.Windows/Graphics.cm


Member Function Details

Invert Member Function

public Result<bool> Invert()

Definition
Line 1863 of System.Windows/Graphics.cm


Multiply Member Function

public Result<bool> Multiply(const Matrix& that)

Definition
Line 1841 of System.Windows/Graphics.cm


Multiply Member Function

public Result<bool> Multiply(const Matrix& that, MatrixOrder order)

Definition
Line 1830 of System.Windows/Graphics.cm


NativeMatrix Member Function

public inline void* NativeMatrix()

Definition
Line 2000 of System.Windows/Graphics.cm


OffsetX Member Function

public float OffsetX()

Definition
Line 1873 of System.Windows/Graphics.cm


OffsetY Member Function

public float OffsetY()

Definition
Line 1877 of System.Windows/Graphics.cm


Reset Member Function

public Result<bool> Reset()

Definition
Line 1852 of System.Windows/Graphics.cm


Rotate Member Function

public Result<bool> Rotate(float angle)

Definition
Line 1893 of System.Windows/Graphics.cm


Rotate Member Function

public Result<bool> Rotate(float angle, MatrixOrder order)

Definition
Line 1882 of System.Windows/Graphics.cm


RotateAt Member Function

public Result<bool> RotateAt(float angle, const PointF& center)

Definition
Line 1915 of System.Windows/Graphics.cm


RotateAt Member Function

public Result<bool> RotateAt(float angle, const PointF& center, MatrixOrder order)

Definition
Line 1904 of System.Windows/Graphics.cm


Scale Member Function

public Result<bool> Scale(float scaleX, float scaleY)

Definition
Line 1931 of System.Windows/Graphics.cm


Scale Member Function

public Result<bool> Scale(float scaleX, float scaleY, MatrixOrder order)

Definition
Line 1920 of System.Windows/Graphics.cm


SetElements Member Function

public Result<bool> SetElements(float m11, float m12, float m21, float m22, float dx, float dy)

Definition
Line 1968 of System.Windows/Graphics.cm


Shear Member Function

public Result<bool> Shear(float shearX, float shearY)

Definition
Line 1947 of System.Windows/Graphics.cm


Shear Member Function

public Result<bool> Shear(float shearX, float shearY, MatrixOrder order)

Definition
Line 1936 of System.Windows/Graphics.cm


TransformPoints Member Function

public Result<bool> TransformPoints(List<Point>& points)

Definition
Line 1979 of System.Windows/Graphics.cm


TransformPoints Member Function

public Result<bool> TransformPoints(List<PointF>& points)

Definition
Line 1990 of System.Windows/Graphics.cm


Translate Member Function

public Result<bool> Translate(float offsetX, float offsetY)

Definition
Line 1963 of System.Windows/Graphics.cm


Translate Member Function

public Result<bool> Translate(float offsetX, float offsetY, MatrixOrder order)

Definition
Line 1952 of System.Windows/Graphics.cm


operator= Member Function

public void operator=(const Matrix& that)

Definition
Line 1806 of System.Windows/Graphics.cm