1al_draw_scaled_rotated_bitmaLpi(b3r)ary Functions Maanlu_adlraw_scaled_rotated_bitmap(3)
2
3
4

NAME

6       al_draw_scaled_rotated_bitmap
7

SYNOPSIS

9              #include <allegro5/allegro.h>
10
11              void al_draw_scaled_rotated_bitmap(ALLEGRO_BITMAP *bitmap,
12                 float cx, float cy, float dx, float dy, float xscale, float yscale,
13                 float angle, int flags)
14

DESCRIPTION

16       Like al_draw_rotated_bitmap(3), but can also scale the bitmap.
17
18       The  point at cx/cy in the bitmap will be drawn at dx/dy and the bitmap
19       is rotated and scaled around this point.
20
21       · cx - center x
22
23       · cy - center y
24
25       · dx - destination x
26
27       · dy - destination y
28
29       · xscale - how much to scale on the x-axis (e.g.  2 for twice the size)
30
31       · yscale - how much to scale on the y-axis
32
33       · angle - angle by which to rotate
34
35       · flags - same as for al_draw_bitmap(3)
36

SEE ALSO

38       al_draw_bitmap(3), al_draw_bitmap_region(3),  al_draw_scaled_bitmap(3),
39       al_draw_rotated_bitmap(3)
40
41
42
43Allegro reference manual                      al_draw_scaled_rotated_bitmap(3)
Impressum