al_reset_clipping_rectangle(3alleg5)

πŸ“¦
version 5.2.11.3 Β· 4 versions
, in debian trixie, ubuntu questing, ubuntu resolute, ubuntu stonking

✨ NAME ✨

al_reset_clipping_rectangle β€” okay bestie, this is a page straight outta the Allegro 5 API manual πŸ’–


🌸 SYNOPSIS 🌸

#include <allegro5/allegro.h>

void al_reset_clipping_rectangle(void)

πŸŽ€ DESCRIPTION πŸŽ€

So like, this function is literally the same thing as calling al_set_clipping_rectangle(0, 0, w, h), where w and h are the width and height of the target bitmap respectively. That's it. That's the whole vibe. πŸ¦‹

And if there's no target bitmap at all? It does nothing. Not a thing. Zero. Nada. It just sits there looking pretty. πŸ’…

fr fr it's giving "reset button" energy β€” one call and your clipping rectangle is back to the full bitmap, no cap πŸ‘‘

🌈 SEE ALSO 🌈


⭐ SINCE ⭐

5.0.6, 5.1.0


and that's the whole page, bestie 🫢 this was the Allegro reference manual's take on al_reset_clipping_rectangle(3alleg5) β€” go forth and un-clip your rectangles, you iconic main character πŸ’œβœ¨

πŸ“¦ where this page comes from