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