---
name: "get_clip_state"
section: "3alleg4"
platform: "linux"
package: "allegro4-doc"
version: "2:4.4.3.1-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/get_clip_state/3alleg4"
---

# get\_clip\_state(3alleg4)

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

## 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)
