al_draw_filled_ellipse(3alleg5)

πŸ“¦
version 5.2.11.3 Β· 4 versions
, in debian trixie, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– al_draw_filled_ellipse πŸ’–

okay bestie so we're in the allegro5 manual β€” specifically section 3, the primitives corner of it β€” and today's main character is al_draw_filled_ellipse. yes she's a whole function. yes she serves. let's go 🫢


✨ NAME ✨

al_draw_filled_ellipse β€” the Allegro 5 API function that draws you a filled ellipse, no cap πŸ’…


✨ SYNOPSIS ✨

first you gotta invite her in:

#include <allegro5/allegro_primitives.h>

and here's the signature, copy it exactly bestie, character for character, she does NOT play about spelling:

void al_draw_filled_ellipse(float cx, float cy, float rx, float ry,
   ALLEGRO_COLOR color)

✨ DESCRIPTION ✨

so what does she do? she draws a filled ellipse. that's it. that's the whole vibe. a solid, chunky, filled-in ellipse, living its best life on your screen. iconic behavior honestly 🌈

here are the parameters she wants from you, and yes she wants all of them:

  • cx, cy β€” the center of the ellipse. where she sits. her little home base πŸ“
  • rx, ry β€” the radii of the ellipse. how far she stretches in each direction, horizontally and vertically πŸ¦‹
  • color β€” the color of the ellipse. her outfit. her lewk. pick it wisely πŸ’–

and that's literally it. no hidden flags, no secret options, no traps. she's a simple girl and she's thriving ✨


🌸 SEE ALSO 🌸

if you're in your "exploring the primitives section" era (and you should be), go say hi to her sisters:

they're all in the same friend group, fr fr πŸ‘‘


ngl this page is short and sweet and that's exactly why we love her. fill your ellipses. center them. give them a cute color. periodt πŸ’…

and that's the whole page bestie β€” this came straight out of the Allegro reference manual, for al_draw_filled_ellipse(3alleg5), so if you cite it anywhere just know that's where the lore is from πŸŽ€ byeee, go draw something pretty for me πŸ§šπŸ’œ

πŸ“¦ where this page comes from