.\" Generated by the Allegro makedoc utility .TH set_clip_state 3alleg4 "version 4.4.3" "Allegro" "Allegro manual" .SH NAME set_clip_state \- Turns on or off the clipping of a bitmap. Allegro game programming library.\& .SH SYNOPSIS .B #include .sp .B void set_clip_state(BITMAP *bitmap, int state) .SH DESCRIPTION Turns on (if state is non-zero) or off (if state is zero) clipping for the specified bitmap. Turning clipping off may slightly speed up some drawing operations (usually a negligible difference, although every little helps) but will result in your program dying a horrible death if you try to draw beyond the edges of the bitmap. .SH SEE ALSO .BR set_clip_rect (3alleg4), .BR get_clip_rect (3alleg4), .BR add_clip_rect (3alleg4), .BR get_clip_state (3alleg4)