C# Class CrossUI.Drawing.Matrix

显示文件 Open project: pragmatrix/CrossUI Class Usage Examples

Public Properties

Property Type Description
Identity Matrix
M11 double
M12 double
M21 double
M22 double
M31 double
M32 double

Public Methods

Method Description
Matrix ( double m11, double m12, double m21, double m22, double m31, double m32 ) : System
Rotation ( double radians ) : Matrix
Rotation ( double radians, double cx, double cy ) : Matrix
Scaling ( double sx, double sy ) : Matrix
Scaling ( double sx, double sy, double cx, double cy ) : Matrix
Transform ( Vector v ) : Vector
Translation ( double dx, double dy ) : Matrix
operator ( ) : Matrix

Private Methods

Method Description
centered ( double cx, double cy, Matrix mtx ) : Matrix

Method Details

Matrix() public method

public Matrix ( double m11, double m12, double m21, double m22, double m31, double m32 ) : System
m11 double
m12 double
m21 double
m22 double
m31 double
m32 double
return System

Rotation() public static method

public static Rotation ( double radians ) : Matrix
radians double
return Matrix

Rotation() public static method

public static Rotation ( double radians, double cx, double cy ) : Matrix
radians double
cx double
cy double
return Matrix

Scaling() public static method

public static Scaling ( double sx, double sy ) : Matrix
sx double
sy double
return Matrix

Scaling() public static method

public static Scaling ( double sx, double sy, double cx, double cy ) : Matrix
sx double
sy double
cx double
cy double
return Matrix

Transform() public method

public Transform ( Vector v ) : Vector
v Vector
return Vector

Translation() public static method

public static Translation ( double dx, double dy ) : Matrix
dx double
dy double
return Matrix

operator() public static method

public static operator ( ) : Matrix
return Matrix

Property Details

Identity public_oe static_oe property

public static Matrix Identity
return Matrix

M11 public_oe property

public double M11
return double

M12 public_oe property

public double M12
return double

M21 public_oe property

public double M21
return double

M22 public_oe property

public double M22
return double

M31 public_oe property

public double M31
return double

M32 public_oe property

public double M32
return double