al_draw_filled_pieslice(3)

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

πŸ’– al_draw_filled_pieslice(3) πŸ’–

okay bestie, welcome to this little corner of the Library Functions Manual covering the Allegro 5 API ✨ we're drawing a filled pieslice and it's gonna be iconic.


πŸŽ€ NAME πŸŽ€

al_draw_filled_pieslice - Allegro 5 API 🫢

πŸ“œ SYNOPSIS πŸ“œ

              #include <allegro5/allegro_primitives.h>

              void al_draw_filled_pieslice(float cx, float cy, float r, float start_theta,
                 float delta_theta, ALLEGRO_COLOR color)

πŸ’… DESCRIPTION πŸ’…

Draws a filled pieslice (filled circular sector). yes bestie, a whole filled circular sector, not just the crust. periodt. πŸ”₯

Parameters:

  • cx, cy β€” Center of the pieslice
  • r β€” Radius of the pieslice
  • color β€” Color of the pieslice
  • start_theta β€” The initial angle from which the pieslice is drawn in radians
  • delta_theta β€” Angular span of the pieslice in radians (pass a negative number to switch direction)

⏳ SINCE ⏳

5.0.6, 5.1.0 ✨

πŸ‘€ SEE ALSO πŸ‘€

al_draw_pieslice(3) β€” go check it out, bestie πŸ¦‹


source/version: Allegro reference manual 🫢 β€” date: not listed on this page, so no cap, I'm not making one up πŸ’…

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