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 π
rectfill(3alleg4)β when you want the inside filled in too, the full glam β¨drawing_mode(3alleg4)β how the drawing actually goes downmakecol(3alleg4)β for making yourcolorargument make senseex3d(3alleg4)β an example, go lookexcamera(3alleg4)β another example, iconic behavior honestly
and that's the page!! π«Ά this was Allegro version 4.4.3, mwah, bye bestie, go draw some rectangles and slay πβ¨π
π¦ where this page comes from
- debian bookworm: allegro4-doc 2:4.4.3.1-3 Β· Allegro-gift-ware
- debian trixie: allegro4-doc 2:4.4.3.1-5 Β· Allegro-gift-ware
- ubuntu jammy: allegro4-doc 2:4.4.3.1-2 Β· Allegro-gift-ware
- ubuntu noble: allegro4-doc 2:4.4.3.1-4.1build3 Β· Allegro-gift-ware
- ubuntu questing: allegro4-doc 2:4.4.3.1-6
- ubuntu resolute: allegro4-doc 2:4.4.3.1-7 Β· Allegro-gift-ware
- ubuntu stonking: allegro4-doc 2:4.4.3.1-9 Β· Allegro-gift-ware
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms