al_draw_rectangle(3)
hii bestie π welcome to the al_draw_rectangle(3) page from the Library Functions Manual. It's Allegro 5 API business, and yes, we're gonna make it make sense. no cap.
β¨ NAME β¨
al_draw_rectangle β Allegro 5 API. That's the name section, and honestly? iconic.
πΈ SYNOPSIS πΈ
the include and the signature, literally right here π
#include <allegro5/allegro_primitives.h>
void al_draw_rectangle(float x1, float y1, float x2, float y2,
ALLEGRO_COLOR color, float thickness)
π DESCRIPTION π
Draws an outlined rectangle. The way this is outlined and not a filled-in block? obsessed. π
Parameters, one by one:
x1,y1,x2,y2β Upper left and lower right points of the rectangle. π¦colorβ Color of the rectangle. πthicknessβ Thickness of the lines; pass<= 0to draw hairline lines. β
π«Ά SEE ALSO π«Ά
go look at these too, iykyk:
okay bye bestie π«Ά source: Allegro reference manual; page: al_draw_rectangle(3); date/version: not shown on this page, so no fake timestamp from me π periodt.
π¦ where this page comes from
- arch rolling: allegro 5.2.11.3-2 Β· Zlib AND BSD-3-Clause AND OFL-1.1 AND LicenseRef-Custom
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms