comp • gb.qt4 • paintbrush • translate

PaintBrush.Translate (gb.qt4)

Sub Translate ( TX As Float, TY As Float )

Modifies the brush transformation matrix by translating the brush-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 brush-space coordinate according to the brush transformation matrix in place before the new call to Translate. In other words, the translation of the brush-space origin takes place after any existing transformation.