Allegro 5 api
#include <allegro5/allegro.h> void al_get_clipping_rectangle(int *x, int *y, int *w, int *h)
Gets the clipping rectangle of the target bitmap.
al_set_clipping_rectangle(3alleg5)