comp • gb.qt4 • paintmatrix

PaintMatrix (gb.qt4)

This class represents a painting transformation matrix.

This class is
Create a new PaintMatrix.
creatable
.
This class can be used as a
Create a new PaintMatrix and return it.
static function
.

Methods

Return a copy of the PaintMatrix matrix.
Copy  
Inverts a transformation matrix and returns it.
Invert  
Apply the PaintMatrix matrix to the Point point, and return the result.
Map  
Multiplies the current matrix by the specified one, and returns it.
Multiply  
Resets a transformation matrix to the identity matrix, and returns it.
Reset  
Rotates a transformation matrix, and returns it.
Rotate  
Scales a transformation matrix, and returns it.
Scale  
Translates a transformation matrix, and returns it.
Translate  

Note that all methods returns the current matrix they applied on, so that you can easily chain calls on the same code line.