1pivot_sprite_trans(3) Allegro manual pivot_sprite_trans(3)
2
3
4
6 pivot_sprite_trans - Rotates a sprite around a specified point. Allegro
7 game programming library.
8
10 #include <allegro.h>
11
12
13 void pivot_sprite_trans(BITMAP *bmp, BITMAP *sprite, int x, int y, int
14 cx, int cy, fixed angle);
15
17 Like rotate_sprite_trans(), but aligns the point in the sprite given by
18 (cx, cy) to (x, y) in the bitmap, then rotates around this point.
19
20
22 rotate_sprite_trans(3), pivot_scaled_sprite_trans(3),
23 pivot_sprite_v_flip_trans(3), exsprite(3)
24
25
26
27Allegro version 4.4.3 pivot_sprite_trans(3)