al_set_clipping_rectangle
void al_set_clipping_rectangle(int x, int y, int width, int height)
Introduced in 5.0.0
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
Most helpful discussions:
- [A5] shouldn't al_set_clipping_rectangle use floats? (2)
- [A5] Copying a bitmap from a transformed screen (1)
- Quick Question about MSAA
- Flickering border artifacts when using "al_set_clipping_rectangle"
- Apply text to bitmap
- Clipping rectangle and text in allegro5
- Allegro 5.2.3 released!
- Inconstistent joystick event delay
- [A5] Fullscreen + keep 4:3 ratio
- Rotate text with transformations
Other recent discussions:
- al_map_rgba vs. al_map_rgba_f
- Overlapping Circles
- al_set_clipping_rectangle behaivor
- Having problem scrolling my mappy map in A5
- Problem with fullscreen reported by some users
- Create a animated menu
- Partial Redraw Problems
- Screen Resolution Question
- Only the background image will not draw??!
- Multiple views/cameras