Method Cairo.Matrix()->translate()
- Method
translate
void
translate(float
|int
tx
,float
|int
ty
)- Description
Applies a translation by tx, ty to the transformation. The effect of the new transformation is to first translate the coordinates by tx and ty, then apply the original transformation to the coordinates.
- Parameter
tx
amount to translate in the X direction
- Parameter
ty
amount to translate in the Y direction