Scroll to navigation

get_clip_state(3alleg4) Allegro manual get_clip_state(3alleg4)

NAME

get_clip_state - Tells if clipping is on for a bitmap. Allegro game programming library.

SYNOPSIS

#include <allegro.h>

int get_clip_state(BITMAP *bitmap)

DESCRIPTION

Returns non-zero if clipping is turned on for the specified bitmap and zero otherwise.

SEE ALSO

set_clip_rect(3alleg4), get_clip_rect(3alleg4), add_clip_rect(3alleg4), set_clip_state(3alleg4)

version 4.4.3 Allegro