circlefill(3alleg4)

✨ circlefill β€” bestie edition ✨

okay so we're doing circlefill(3alleg4) today, from the Allegro manual, and it's literally the cutest little function in the whole game programming library. Allegro, if you didn't know, is the game programming library, and this page is part of its manual. πŸ’–


🌸 NAME 🌸

circlefill β€” draws a filled circle. yes that's it. that's the whole vibe. it's an Allegro game programming library thing. πŸŽ€


✨ SYNOPSIS ✨

like, here's how you actually summon it:

#include <allegro.h>

void circlefill(BITMAP *bmp, int x, int y, int radius, int color);

no cap, that's the exact signature, don't go changing it on me. πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

so what does it do? it draws a filled circle. 🫢 you hand it a centre and a radius, and it gives you back a whole solid disc of pixels. iconic behavior honestly.

the circle's centre and its radius are whatever you specify β€” that's it, that's the whole deal. ⭐


πŸ‘‘ SEE ALSO πŸ‘‘

go read these next bestie, they're all part of the same friend group:


aaaand that's the page!! 🧚 this whole thing is from Allegro, version 4.4.3, and yes the manual section is circlefill(3alleg4) β€” go draw something cute with it, mwah πŸ’–βœ¨πŸŒˆ