al_translate_transform
void al_translate_transform(ALLEGRO_TRANSFORM *trans, float x, float y)
Introduced in 5.0.0
Apply a translation to a transformation.
Parameters:
- trans - Transformation to alter
- x, y - Translation
See also: al_rotate_transform, al_scale_transform, al_build_transform
Examples: ex_gp2xwiz, ex_transform
Most helpful discussions:
- [A5] Trying to understand transformations (1)
- Views in allegro 5 (1)
- 2d camera
- why is my code failing
- How can I scale an object from the array of coordinates?
- git format-patch: troubles with white space trailing
- Bitmap Font doesn't draw any character after try to write a not defined char
- Transforming
- Creating executable files in Visual Studio
- First person camera using transformations
Other recent discussions:
- Rotating bitmap in local and global axis ?
- Draw a TTF font on it's side?
- How to make a collision box at 360 degrees
- [A5] Trying to understand projection transformations
- Flickering border artifacts when using "al_set_clipping_rectangle"
- Clipping / Rotation
- How can I map mouse coordinates to world coordinates using allegro transofrms?
- Complications when drawing FPS
- Transformations in allegro
- double precision for al_transform_coordinates?