1add_clip_rect(3) Allegro manual add_clip_rect(3)
2
3
4
6 add_clip_rect - Intersects a bitmap's clipping rectangle with the given
7 area. Allegro game programming library.
8
10 #include <allegro.h>
11
12
13 void add_clip_rect(BITMAP *bitmap, int x1, int y1, int x2, int y2);
14
16 Sets the clipping rectangle of the specified bitmap as the intersection
17 of its current clipping rectangle and the rectangle described by the
18 four coordinates.
19
20
22 set_clip_rect(3), get_clip_rect(3), set_clip_state(3),
23 get_clip_state(3)
24
25
26
27Allegro version 4.2.3 add_clip_rect(3)