1al_draw_scaled_bitmap(3) Library Functions Manual al_draw_scaled_bitmap(3)
2
3
4
6 al_draw_scaled_bitmap
7
9 #include <allegro5/allegro.h>
10
11 void al_draw_scaled_bitmap(ALLEGRO_BITMAP *bitmap,
12 float sx, float sy, float sw, float sh,
13 float dx, float dy, float dw, float dh, int flags)
14
16 Draws a scaled version of the given bitmap to the target bitmap.
17
18 · sx - source x
19
20 · sy - source y
21
22 · sw - source width
23
24 · sh - source height
25
26 · dx - destination x
27
28 · dy - destination y
29
30 · dw - destination width
31
32 · dh - destination height
33
34 · flags - same as for al_draw_bitmap(3)
35
37 al_draw_bitmap(3), al_draw_bitmap_region(3), al_draw_rotated_bitmap(3),
38 al_draw_scaled_rotated_bitmap(3),
39
40
41
42Allegro reference manual al_draw_scaled_bitmap(3)