rect(3alleg4)

πŸ’– rect β€” like, the rectangle outline queen πŸ’–

okay so bestie, this is a page from the Allegro manual β€” yes, the Allegro game programming library, the whole entire vibe. And this function? It's called rect. She draws an outline rectangle. That's it, that's her whole thing, and she ate. πŸ’…


✨ NAME ✨

rect β€” draws an outline rectangle, brought to you by the Allegro game programming library. πŸŽ€


🌸 SYNOPSIS 🌸

#include <allegro.h>

void rect(BITMAP *bmp, int x1, int y1, int x2, int y2, int color);

like, that's the whole signature. no cap. πŸ¦‹


πŸ’œ DESCRIPTION πŸ’œ

rect draws an outline rectangle β€” just the border, the edges, the lewk β€” using the two points you give it as its opposite corners. that's the assignment. that's the moment. πŸ”₯


🌈 SEE ALSO 🌈


and that's the page!! 🫢 this was Allegro version 4.4.3, mwah, bye bestie, go draw some rectangles and slay πŸ’–βœ¨πŸ‘‘