al_draw_pieslice(3)

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

🌸 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 <= 0 to 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 🫢


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