al_draw_pieslice(3)
πΈ al_draw_pieslice πΈ
omg hi bestie, welcome to the Library Functions Manual page for the Allegro 5 API π
β¨ NAME β¨
al_draw_pieslice - Allegro 5 API. that's the name, and she's literally the outlined-pieslice function. π
π SYNOPSIS π
#include <allegro5/allegro_primitives.h>
void al_draw_pieslice(float cx, float cy, float r, float start_theta,
float delta_theta, ALLEGRO_COLOR color, float thickness)
π¦ DESCRIPTION π¦
okay so this function draws a pieslice (outlined circular sector). no cap, that's the whole move. β¨
parameters, bestie:
cx,cyβ center of the pieslice. that's the anchor point, the main character location πrβ radius of the pieslice. how far out the vibe reaches πcolorβ color of the pieslice. pick your palette πstart_thetaβ the initial angle from which the pieslice is drawn in radians. math girlie moment β¨delta_thetaβ angular span of the pieslice in radians; pass a negative number to switch direction, iykyk πthicknessβ thickness of the circle; pass<= 0to draw a hairline pieslice. tiny-line energy fr fr π
β SINCE β
5.0.6, 5.1.0 β she's been here, and she's iconic. π
π«Ά SEE ALSO π«Ά
al_draw_filled_pieslice(3)β the filled-pieslice bestie. go say hi π
mwah π β source: Allegro reference manual; version/date: not printed in this footer, bestie π. still a whole vibe. π§
π¦ 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