.\" Automatically generated by Pandoc 3.1.11.1 .\" .TH "al_draw_arc" "3" "" "Allegro reference manual" "" .SH NAME al_draw_arc \- Allegro 5 API .SH SYNOPSIS .IP .EX #include void al_draw_arc(float cx, float cy, float r, float start_theta, float delta_theta, ALLEGRO_COLOR color, float thickness) .EE .SH DESCRIPTION Draws an arc. .PP \f[I]Parameters:\f[R] .IP \[bu] 2 cx, cy \- Center of the arc .IP \[bu] 2 r \- Radius of the arc .IP \[bu] 2 color \- Color of the arc .IP \[bu] 2 start_theta \- The initial angle from which the arc is calculated in radians .IP \[bu] 2 delta_theta \- Angular span of the arc in radians (pass a negative number to switch direction) .IP \[bu] 2 thickness \- Thickness of the arc, pass \f[CR]<= 0\f[R] to draw hairline arc .SH SEE ALSO al_calculate_arc(3), al_draw_elliptical_arc(3)