al_draw_filled_pieslice(3)
π 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 pieslicerβ Radius of the pieslicecolorβ Color of the pieslicestart_thetaβ The initial angle from which the pieslice is drawn in radiansdelta_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