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)
- Inconstistent joystick event delay
- [A5] Fullscreen + keep 4:3 ratio
- Rotate text with transformations
- 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
Other recent discussions:
- Create a animated menu
- Partial Redraw Problems
- Screen Resolution Question
- Only the background image will not draw??!
- Multiple views/cameras
- [A5] Mouse clipping
- Scrolling Camera - Using Transforms
- [A5] al_flip_display() lag?
- [A5] Fixed Aspect Ratio with Black Bars
- [A5] isn't drawing clipped by a subbitmap?