al_draw_filled_circle(3)
π al_draw_filled_circle β NAME π
okay so bestie, this is the al_draw_filled_circle page from the Allegro 5 API β yes, that Allegro, the game-programming library, and yes this function is exactly as iconic as it sounds: it draws a filled circle. that's it. that's the whole vibe. slay.
β¨ SYNOPSIS β¨
like, here's the literal thing you type, no cap:
#include <allegro5/allegro_primitives.h>
void al_draw_filled_circle(float cx, float cy, float r, ALLEGRO_COLOR color)
π
heads up: you gotta have that allegro_primitives.h include in there, she's not optional.
π DESCRIPTION π
so this function draws a filled circle. solid. chonky. no hollow center, no "o" shape β we're talking a full-on circle with the inside all filled in. main character energy fr fr π«Ά
here are the parameters, and i'm gonna be so real with you about each one:
cx,cyβ the center of the circle. like, where the heart of it lives. π«rβ the radius of the circle. how big she's gonna be from the middle out. β¨colorβ the color of the circle. anALLEGRO_COLOR, naturally. pick something cute. π
that's genuinely the whole thing, bestie. four arguments, one filled circle, zero drama. iykyk π
π¦ SEE ALSO π¦
other circles and circle-adjacent icons you should also go look at, because why not:
al_draw_circle(3)β the outline-only sibling πal_draw_filled_ellipse(3)β circle's stretchy cousin π
and that's the page! β¨ this one came straight out of the Allegro reference manual, which is where you'll find all her friends too. go draw something filled and gorgeous, bestie β you got this πππΈ
π¦ 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