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