al_build_transform
void al_build_transform(ALLEGRO_TRANSFORM *trans, float x, float y,
float sx, float sy, float theta)
Introduced in 5.0.0
Builds a transformation given some parameters. This call is equivalent to calling the transformations in this order: make identity, scale, rotate, translate. This method is faster, however, than actually calling those functions.
Parameters:
- trans - Transformation to alter
- x, y - Translation
- sx, sy - Scale
- theta - Rotation angle
See also: al_translate_transform, al_rotate_transform, al_scale_transform, al_compose_transform
Examples: ex_prim, ex_threads
Most helpful discussions:
- tranformations with A5
- Quick Question about MSAA
- Clipping / Rotation
- [A5] Fullscreen + keep 4:3 ratio
- A5 - Fullscreen in Linux Mint
- [A5] Copying a bitmap from a transformed screen
- HELP! Problem when I tried to make a5 and librocket gui work together.
- Problem with fullscreen reported by some users
- Screen Resolution Question
- Framebuffer?
Other recent discussions: