al_get_clipping_rectangle

void al_get_clipping_rectangle(int *x, int *y, int *w, int *h)
Introduced in 5.0.0

Gets the clipping rectangle of the target bitmap.

See also: al_set_clipping_rectangle

Examples: ex_clip, ex_draw


Most helpful discussions: