Свойство | Тип | Описание | |
---|---|---|---|
A | float | ||
B | float | ||
C | float | ||
D | float | ||
Tx | float | ||
Ty | float |
Метод | Описание | |
---|---|---|
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 |
Метод | Описание | |
---|---|---|
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 | |
Результат | void |
public ConvertToMatrix4d ( ) : System.Matrix4d | ||
Результат | System.Matrix4d |
public CopyFromMatrix ( Matrix matrix ) : void | ||
matrix | Matrix | |
Результат | 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 | |
Результат | Matrix |
public PrependMatrix ( Matrix matrix ) : void | ||
matrix | Matrix | |
Результат | void |
public PrependTranslation ( float dx, float dy ) : void | ||
dx | float | |
dy | float | |
Результат | void |
public Rotate ( float angleInRadians ) : void | ||
angleInRadians | float | |
Результат | void |
public TransformPoint ( Point point ) : Point | ||
point | Point | |
Результат | Point |
public TransformPoint ( float x, float y ) : Point | ||
x | float | |
y | float | |
Результат | Point |
public Translate ( float dx, float dy ) : void | ||
dx | float | |
dy | float | |
Результат | void |