al_draw_circle(3)
π al_draw_circle(3) π
okay bestie, so this one lives in the Allegro 5 API and it's literally the moment your circle era begins β¨ (yes, this is the al_draw_circle page, we been knew π)
πΈ NAME πΈ
al_draw_circle β certified Allegro 5 API icon behavior π
β¨ SYNOPSIS β¨
#include <allegro5/allegro_primitives.h>
void al_draw_circle(float cx, float cy, float r, ALLEGRO_COLOR color,
float thickness)
ok so before you can even think about circles you gotta have that include in there, no cap π«Ά
π DESCRIPTION π
Draws an outlined circle. that's it, that's the vibe β outline only, she's hollow, she's giving ring, she's not filled (iykyk, that's a whole different function bestie π).
Now the parameters, because we do read the docs in this house π:
cx,cyβ Center of the circle π― like, where her heart isrβ Radius of the circle π¦ how far she spreads, iconiccolorβ Color of the circle π¨ the whole entire lewkthicknessβ Thickness of the circle, pass<= 0to draw a hairline circle β¨ so likeβ¦ zero or negative and she gets smol and delicate, hairline mode, main character energy π
ngl that <= 0 hairline thing is lowkey the best part, don't skip it π
π¦ SEE ALSO π¦
al_draw_filled_circle(3)β when you want her full of color πal_draw_ellipse(3)β when a circle just isn't dramatic enough for the occasion πΈ
k bye, go draw a circle fr fr πβ¨ β this one came straight from the Allegro reference manual (that's the source and version bestie, al_draw_circle(3) all the way down π
) π«Ά
π¦ 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