al_draw_filled_ellipse(3)

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

πŸ’… al_draw_filled_ellipse β€” Allegro 5 API ✨

Okay bestie, so this one is from the Allegro 5 API (the allegro_primitives girlies, you know the ones) and it is literally the easiest way to put a big fat filled oval on your screen. No cap. 🫢


🌸 SYNOPSIS 🌸

#include <allegro5/allegro_primitives.h>

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

Yes bestie, that's the whole signature, copy it exactly, don't come for me about the line break πŸ’…


✨ DESCRIPTION ✨

It draws a filled ellipse. That's it. That's the vibe. πŸŽ€ One solid, chunky oval, no hollow middle, no "haha just the outline," just full-on filled main character energy.

Here's the parameter tea, one by one πŸ‘‘

  • cx, cy β€” the Center of the ellipse. Like, where the heart of the oval lives. πŸ’–
  • rx, ry β€” the Radii of the ellipse. Plural radiuses, the horizontal one and the vertical one, so you can make it wide or tall or perfectly round, your call. πŸ¦‹
  • color β€” the Color of the ellipse. The ALLEGRO_COLOR it gets filled with. Pick something iconic. 🌈
Lowkey a vibe check reminder: cx/cy and rx/ry are floats and color is an ALLEGRO_COLOR, so keep those types exactly as they are. πŸ’€

πŸ‘€ SEE ALSO πŸ‘€


And that's the whole page, bestie β€” slay. 🌸

Source/version tea: this is straight from the Allegro reference manual, and the footer date stamp on it is the same as the header title page, al_draw_filled_ellipse(3) β€” so whenever you're reading this, that's the version you've got. Mwah. πŸ’‹ πŸŽ€

πŸ“¦ 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