1rotate_sprite_v_flip_trans(3) Allegro manual rotate_sprite_v_flip_trans(3)
2
3
4
6 rotate_sprite_v_flip_trans - Rotates and flips a sprite. Allegro game
7 programming library.
8
10 #include <allegro.h>
11
12
13 void rotate_sprite_v_flip_trans(BITMAP *bmp, BITMAP *sprite, int x, int
14 y, fixed angle);
15
17 Like rotate_sprite_trans, but flips the image vertically before rotatā
18 ing it. To flip horizontally, use this routine but add itofix(128) to
19 the angle. To flip in both directions, use rotate_sprite() and add
20 itofix(128) to its angle.
21
22
24 rotate_sprite_trans(3), rotate_scaled_sprite_v_flip_trans(3),
25 pivot_sprite_v_flip_trans(3), pivot_scaled_sprite_v_flip_trans(3),
26 exsprite(3)
27
28
29
30Allegro version 4.4.3 rotate_sprite_v_flip_trans(3)