al_draw_arc(3)

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

πŸ¦‹ NAME πŸ¦‹

al_draw_arc β€” Allegro 5 API. πŸ’– This page is al_draw_arc(3) from the Library Functions Manual, so yeah, it’s giving Allegro 5 arc realness.

✨ SYNOPSIS ✨

#include <allegro5/allegro_primitives.h>

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

πŸ’… DESCRIPTION πŸ’…

Okay bestie, al_draw_arc draws an arc. That’s the whole main-character move. ✨

Parameters:

  • cx, cy β€” Center of the arc. Like the heartbeat of the whole shape. πŸ’–
  • r β€” Radius of the arc. How far out it stretches from that center. πŸŽ€
  • color β€” Color of the arc. Pick your aesthetic. 🎨
  • start_theta β€” The initial angle from which the arc is calculated in radians. Radians, bestie β€” that’s the unit listed. 🌈
  • delta_theta β€” Angular span of the arc in radians. And yes: pass a negative number to switch direction. πŸŒ€
  • thickness β€” Thickness of the arc. Pass <= 0 to draw a hairline arc. Tiny-line energy. 🧚

🫢 SEE ALSO 🫢


mwah πŸ’‹ Source: Allegro reference manual; version: not listed, just page al_draw_arc(3); date: also not listed in the footer β€” I’m not inventing one, no cap. 🌸🫢

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