al_draw_circle(3)

πŸ“¦
version 5.2.11.3 Β· 3 versions
, in arch rolling

πŸ’– 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 is
  • r β€” Radius of the circle πŸ¦‹ how far she spreads, iconic
  • color β€” Color of the circle 🎨 the whole entire lewk
  • thickness β€” Thickness of the circle, pass <= 0 to 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 πŸ¦‹


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