1pivot_sprite(3)                 Allegro manual                 pivot_sprite(3)
2
3
4

NAME

6       pivot_sprite  - Rotates a sprite around a specified point. Allegro game
7       programming library.
8

SYNOPSIS

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

DESCRIPTION

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

SEE ALSO

22       rotate_sprite(3),    pivot_scaled_sprite(3),    pivot_sprite_v_flip(3),
23       exsprite(3)
24
25
26
27Allegro                          version 4.4.3                 pivot_sprite(3)
Impressum