al_draw_arc(3)
π¦ 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<= 0to 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