al_set_clipping_rectangle man page

al_set_clipping_rectangle — Allegro 5 API

Synopsis

#include <allegro5/allegro.h>

void al_set_clipping_rectangle(int x, int y, int width, int height)

Description

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

See Also

al_get_clipping_rectangle(3), al_reset_clipping_rectangle(3)

Referenced By

al_clear_depth_buffer(3), al_clear_to_color(3), al_draw_multiline_text(3), al_get_clipping_rectangle(3), al_reset_clipping_rectangle(3).

Allegro reference manual