Dokumentaro de Gambaso
Compilation & Installation
Components
gb
gb.crypt
gb.qt4
Control
Key
Documents
Indekso de Lingvo
Language Overviews
LeguMin
Lexicon
Registro

Paint.Translate (gb.qt4)

Static Sub Translate ( TX As Float, TY As Float )

Modifies the current transformation matrix (CTM) by translating the user-space origin by (TX, TY).

  • TX : Amount to translate in the X direction.

  • TY : Amount to translate in the Y direction.

This offset is interpreted as a user-space coordinate according to the CTM in place before the new call to Translate. In other words, the translation of the user-space origin takes place after any existing transformation.