.\" Automatically generated by Pandoc 2.17.1.1 .\" .\" Define V font for inline verbatim, using C font in formats .\" that render this, and otherwise B font. .ie "\f[CB]x\f[]"x" \{\ . ftr V B . ftr VI BI . ftr VB B . ftr VBI BI .\} .el \{\ . ftr V CR . ftr VI CI . ftr VB CB . ftr VBI CBI .\} .TH "al_draw_arc" "3alleg5" "" "Allegro reference manual" "" .hy .SH NAME .PP al_draw_arc - Allegro 5 API .SH SYNOPSIS .IP .nf \f[C] #include void al_draw_arc(float cx, float cy, float r, float start_theta, float delta_theta, ALLEGRO_COLOR color, float thickness) \f[R] .fi .SH DESCRIPTION .PP 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[V]<= 0\f[R] to draw hairline arc .SH SEE ALSO .PP al_calculate_arc(3alleg5), al_draw_elliptical_arc(3alleg5)