Method Cairo.Matrix()->translate()
- Method
translate
voidtranslate(float|inttx,float|intty)- 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