PaintMatrix (gb.qt4)
This class represents a painting transformation matrix.
Métodos
Copy
|
Return a copy of the PaintMatrix matrix.
|
Invert
|
Inverts a transformation matrix and returns it.
|
Map
|
Apply the PaintMatrix matrix to a specific point, and return the result.
|
Multiply
|
Multiplies the current matrix by the specified one, and returns it.
|
Reset
|
Resets a transformation matrix to the identity matrix, and returns it.
|
Rotate
|
Rotates a transformation matrix, and returns it.
|
Scale
|
Scales a transformation matrix, and returns it.
|
Shear
|
Shears a transformation matrix, and returns it.
|
Translate
|
Translates a transformation matrix, and returns it.
|
Note that all methods returns the current matrix they applied on, so that you can easily chain calls on the same code line.