CairoMatrix (gb.cairo)
This class represents a
Cairo transformation matrix.
Методы
Invert
|
Inverts a transformation matrix and returns it.
|
Multiply
|
Multiplies the current matrix by the specified one, and returns it.
|
Rotate
|
Rotates a transformation matrix, and returns it.
|
Scale
|
Scales a transformation matrix, and returns it.
|
Translate
|
Translates a transformation matrix, and returns it.
|
Note that all methods return the current matrix they applied on, so that you can easily chain calls on the same code line.