Свойство | Type | Description | |
---|---|---|---|
A | float | ||
B | float | ||
C | float | ||
D | float | ||
Tx | float | ||
Ty | float |
Méthode | Description | |
---|---|---|
AppendMatrix ( Matrix matrix ) : void | ||
ConvertToMatrix4 ( ) : Matrix4 |
Creates and returns an OpenGL Matrix4 object based on this Matrix
|
|
ConvertToMatrix4d ( ) : System.Matrix4d |
Creates and returns an OpenGL Matrix4d object based on this Matrix
|
|
CopyFromMatrix ( Matrix matrix ) : void | ||
Create ( float a = 1.0f, float b = 0.0f, float c = 0.0f, float d = 1.0f, float tx = 0.0f, float ty = 0.0f ) : Matrix | ||
Identity ( ) : void |
Converts the matrix to an Identity matrix
|
|
Invert ( ) : void | ||
IsEqual ( Matrix other ) : bool | ||
PrependMatrix ( Matrix matrix ) : void | ||
PrependTranslation ( float dx, float dy ) : void | ||
Rotate ( float angleInRadians ) : void |
Applies a rotation on the matrix (angle in radians).
|
|
Scale ( float sx, float sy ) : void | ||
Skew ( float sx, float sy ) : void |
Appends a skew transformation to a matrix (angles in radians). The skew matrix has the following form: | cos(skewY) -sin(skewX) 0 | | sin(skewY) cos(skewX) 0 | | 0 0 1 |
|
|
ToString ( ) : string | ||
TransformPoint ( Point point ) : Point |
Returns a point that is transformed by this matrix
|
|
TransformPoint ( float x, float y ) : Point | ||
Translate ( float dx, float dy ) : void |
Méthode | Description | |
---|---|---|
Init ( ) : Matrix | ||
Matrix ( float a = 1.0f, float b = 0.0f, float c = 0.0f, float d = 1.0f, float tx = 0.0f, float ty = 0.0f ) : System |
public AppendMatrix ( Matrix matrix ) : void | ||
matrix | Matrix | |
Résultat | void |
public ConvertToMatrix4d ( ) : System.Matrix4d | ||
Résultat | System.Matrix4d |
public CopyFromMatrix ( Matrix matrix ) : void | ||
matrix | Matrix | |
Résultat | void |
public static Create ( float a = 1.0f, float b = 0.0f, float c = 0.0f, float d = 1.0f, float tx = 0.0f, float ty = 0.0f ) : Matrix | ||
a | float | |
b | float | |
c | float | |
d | float | |
tx | float | |
ty | float | |
Résultat | Matrix |
public PrependMatrix ( Matrix matrix ) : void | ||
matrix | Matrix | |
Résultat | void |
public PrependTranslation ( float dx, float dy ) : void | ||
dx | float | |
dy | float | |
Résultat | void |
public Rotate ( float angleInRadians ) : void | ||
angleInRadians | float | |
Résultat | void |
public TransformPoint ( Point point ) : Point | ||
point | Point | |
Résultat | Point |
public TransformPoint ( float x, float y ) : Point | ||
x | float | |
y | float | |
Résultat | Point |
public Translate ( float dx, float dy ) : void | ||
dx | float | |
dy | float | |
Résultat | void |