DOKK / manpages / debian 10 / allegro5-doc / al_set_clipping_rectangle.3alleg5.en
al_set_clipping_rectangle(3alleg5) al_set_clipping_rectangle(3alleg5)

al_set_clipping_rectangle - Allegro 5 API

#include <allegro5/allegro.h>
void al_set_clipping_rectangle(int x, int y, int width, int height)
    

Set the region of the target bitmap or display that pixels get clipped to. The default is to clip pixels to the entire bitmap.

al_get_clipping_rectangle(3alleg5), al_reset_clipping_rectangle(3alleg5)

Allegro reference manual