1al_draw_scaled_bitmap(3) al_draw_scaled_bitmap(3)
2
3
4
6 al_draw_scaled_bitmap - Allegro 5 API
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
36 See al_draw_bitmap(3) for a note on restrictions on which bitmaps can
37 be drawn where.
38
40 al_draw_bitmap(3), al_draw_bitmap_region(3), al_draw_rotated_bitmap(3),
41 al_draw_scaled_rotated_bitmap(3),
42
43
44
45Allegro reference manual al_draw_scaled_bitmap(3)