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