1set_clip_state(3) Allegro manual set_clip_state(3)
2
3
4
6 set_clip_state - Turns on or off the clipping of a bitmap. Allegro game
7 programming library.
8
10 #include <allegro.h>
11
12
13 void set_clip_state(BITMAP *bitmap, int state)
14
16 Turns on (if state is non-zero) or off (if state is zero) clipping for
17 the specified bitmap. Turning clipping off may slightly speed up some
18 drawing operations (usually a negligible difference, although every
19 little helps) but will result in your program dying a horrible death if
20 you try to draw beyond the edges of the bitmap.
21
22
24 set_clip_rect(3), get_clip_rect(3), add_clip_rect(3), get_clip_state(3)
25
26
27
28Allegro version 4.4.3 set_clip_state(3)