1al_use_transform(3) Library Functions Manual al_use_transform(3)
2
3
4
6 al_use_transform
7
9 #include <allegro5/allegro.h>
10
11 void al_use_transform(const ALLEGRO_TRANSFORM *trans)
12
14 Sets the transformation to be used for the the drawing operations on
15 the target bitmap (each bitmap maintains its own transformation).
16 Every drawing operation after this call will be transformed using this
17 transformation. Call this function with an identity transformation to
18 return to the default behaviour.
19
20 This function does nothing if there is no target bitmap.
21
22 Parameters:
23
24 ยท trans - Transformation to use
25
27 al_get_current_transform(3), al_transform_coordinates(3)
28
29
30
31Allegro reference manual al_use_transform(3)