SIMPLE SOLUTIONS

SET_CLIP_STATE(3ALLEG4) - Linux man page online | Library functions

Turns on or off the clipping of a bitmap. Allegro game programming library.

Chapter
version 4.4.2
set_clip_state(3alleg4) Allegro manual set_clip_state(3alleg4)

NAME

set_clip_state - Turns on or off the clipping of a bitmap. Allegro game programming library.

SYNOPSIS

#include <allegro.h> void set_clip_state(BITMAP *bitmap, int state)

DESCRIPTION

Turns on (if state is non-zero) or off (if state is zero) clipping for the specified bit‐ map. Turning clipping off may slightly speed up some drawing operations (usually a negli‐ gible 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.

SEE ALSO

set_clip_rect(3alleg4), get_clip_rect(3alleg4), add_clip_rect(3alleg4), get_clip_state(3alleg4)
Allegro version 4.4.2 set_clip_state(3alleg4)
This manual Reference Other manuals
set_clip_state(3alleg4) referred by add_clip_rect(3alleg4) | get_clip_rect(3alleg4) | get_clip_state(3alleg4) | is_inside_bitmap(3alleg4) | set_clip_rect(3alleg4)
refer to add_clip_rect(3alleg4) | get_clip_rect(3alleg4) | get_clip_state(3alleg4) | set_clip_rect(3alleg4)
Download raw manual
Main page Allegro manual (+923) Allegro (+926) № 3 (+68044)
Go top