Matrix2x4

Matrix2x4
Scaleform::Render::Matrix2x4
Declaration
template <typename T>
class Matrix2x4 : public Matrix2x4Data<T>;
Description

Matrix2x4 represents a matrix in row-major order and is composed of 2 rows and 4 columns with translation in the 4th column.

Data Members
Data Member 
Description 
Identity matrix. 
Enumerations
Enumeration 
Description 
Specifies that the matrix should not be initialized to identity upon construction. 
Methods
Method 
Description 
Appends the matrix by multiplying the specified matrix by the the current matrix. 
Non-optimized version of Append
An optimized version of Append
Appends a rotation to the matrix. 
Appends a scale change to the matrix. 
Appends a shearing to the matrix. 
Appends a translation to the matrix. 
Returns true if the matrix reverses handedness. 
Transforms a rectangle and returns its bounding area. 
Non-optimized version of EncloseTransform
Returns the matrix as an array of floats. 
Appends a translation to the matrix. 
Determinant of the 2x2 rotation/scale part only. 
Returns the inverse of the original matrix. 
Returns the maximum scale factor that this transform applies. 
Returns the rotation component (in radians). 
Returns the rotation component (in radians) as a double value. 
Returns the isotropic scale, proportional to the diagonal (0,0) - (1,1) 
Returns the magnitude scale of the x coordinate output. 
Returns the magnitude scale of the x coordinate output as a double value. 
Returns the magnitude scale of the y coordinate output. 
Returns the magnitude scale of the y coordinate output as a double value. 
Inverts the matrix. 
Decompose matrix into translation, scale, rotation and skew matrix. 
Checks whether the matrix has arbitrary rotation. 
Determines whether the Matrix2x4 is valid or not. 
Matrix2x4 constructor. 
Prepend a matrix by multiplying the current matrix by the passed matrix. 
Prepends a rotation to the matrix. 
Prepends a scale change to the matrix. 
Interpolates the matrices. 
Prepends a shearing to the matrix. 
Prepends a translation to the matrix. 
Recompose the matrix by setting its translation, scale, rotation and skew components. 
Resets the matrix back to the identity matrix. 
Creates a rotation matrix. 
Prepends a translation to the matrix. 
Creates the scale matrix. 
Sets the matrix to the identity matrix. 
Sets the matrix to the inverse of the passed matrix. 
Creates a new matrix from a blend of the passed two matrices. 
Creates a new matrix either from the passed values or by copying the passed matrix. 
Transforms a parallelogram to a new parallelogram. 
Transforms a parallelogram to a rectangle. 
Transforms a rectangle to a parallelogram. 
Transforms a rectangle to a new rectangle. 
Initializes this matrix to the result of m0.Append(m1). 
Non-optimized version of SetToAppend
Optimized version of SetToAppend
Sets the scale factor to be applied along the X axis. 
Sets the scale factor to be applied along the Y axis. 
Set the matrix to all zero components. 
Creates a shear matrix. 
Swap 
Swaps the values of two matrices. 
Shx 
Provides access to the element of the matrix which represents shearing in X. 
Shy 
Provides access to the element of the matrix which represents shearing in Y. 
Sx 
Provides access to the element of the matrix which represents scaling in X. 
Sy 
Provides access to the element of the matrix which represents scaling in Y. 
Transforms the point by the matrix. 
Transforms the point by the rotation matrix. 
Transforms the point by the inverse of the matrix. 
Transforms the vector by the matrix, but does not apply the translation. 
Creates a translation matrix. 
Tx 
Provides access to the element of the matrix which represents translation in X. 
Ty 
Provides access to the element of the matrix which represents translation in Y. 
Operators
Operator 
Description 
!= 
Matrix inequality. 
* 
Matrix multiplication (transform values). 
*= 
Transforms a matrix. 
= 
Assigns a matrix. 
== 
Matrix equality. 
File

Render_Matrix2x4.h