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