rect(3)

πŸ“¦ version 4.4.3.1, in fedora 43, fedora 44

✨ NAME ✨

Hey bestie, welcome to rect(3) from the Allegro manual! πŸ’– This page is all about rect β€” it draws an outline rectangle, and it lives in the Allegro game programming library. Periodt. ✨


πŸŽ€ SYNOPSIS πŸŽ€

#include <allegro.h>

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

πŸ’… DESCRIPTION πŸ’…

Okay so rect draws an outline rectangle, and the two points you give it are its opposite corners. That's the whole tea, bestie. 🫢✨


🌈 SEE ALSO 🌈

If you're feeling curious, go peek at these other pages too, iykyk:


Allegro, version 4.4.3 β€” that's the footer, bestie. πŸ’–βœ¨

πŸ“¦ where this page comes from