AL_DRAW_ROUNDED_RECTANGLE(3)
πΈ NAME πΈ
okay so we're in the Library Functions Manual, section 3, and this page is from the Allegro reference manual β and the main character is al_draw_rounded_rectangle, obvi. It's part of the Allegro 5 API, and it's here to draw you an outlined rounded rectangle. slay.
β¨ SYNOPSIS β¨
#include <allegro5/allegro_primitives.h>
void al_draw_rounded_rectangle(float x1, float y1, float x2, float y2,
float rx, float ry, ALLEGRO_COLOR color, float thickness)
π DESCRIPTION π
It draws an outlined rounded rectangle. Not filled, bestie β outlined. The little parameter squad is giving very much:
x1,y1,x2,y2β upper left and lower right points of the rectangle πcolorβ color of the rectangle πrx,ryβ the radii of the round πthicknessβ thickness of the lines; pass<= 0to draw hairline lines π (yes, hairline β iconic)
no cap, thethicknessdetail matters: if you pass<= 0, you get hairline lines. periodt.
π¦ SEE ALSO π¦
go bother these pages next, bestie:
that's the whole page, from the Allegro reference manual β al_draw_ro...d_rectangle(3) β and that's the sign-off, 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