The application can translate an object either using GpiTranslate or by modifying the MATRIXLF structure directly.
To move a graphics object by an absolute number of coordinate units, a translation equation is applied. The equations for translation by Tx and Ty are obtained from the general equations (with E = Tx, and F = Ty) and can be written:
x' = x + Tx
y' = y + Ty
Translation preserves the shape, size, and orientation of the object. A negative Tx value causes movement to the left. A negative Ty value causes movement downward.