DOKK / manpages / debian 10 / allegro4-doc / get_clip_rect.3alleg4.en
get_clip_rect(3alleg4) Allegro manual get_clip_rect(3alleg4)

get_clip_rect - Returns the clipping rectangle of a bitmap. Allegro game programming library.

#include <allegro.h>

void get_clip_rect(BITMAP *bitmap, int *x1, int *y1, int *x2, int *y2);

Returns the clipping rectangle for the specified bitmap.

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

version 4.4.2 Allegro