Set the current translation values
#include <gf/gf.h> void gf_context_set_translation( gf_context_t context, int tx, int ty );
This function sets the current x and y translation values. These values are added to all polygon, line, and polyline coordinates prior to rendering. Using a combination of the transform matrix and translations, various rotation, scaling and reflection operations are possible. For more information on transforms, see gf_context_set_transform().
|The translations apply only to geometrical primitives such as polygons, lines, and polylines. The algorithm isn't applied to spans, rectangles, bitmaps, text etc.|
QNX Graphics Framework