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