1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
|
.TH al_draw_arc 3 "" "Allegro reference manual"
.SH NAME
.PP
al_draw_arc \- Allegro 5 API
.SH SYNOPSIS
.IP
.nf
\f[C]
#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)
\f[]
.fi
.SH DESCRIPTION
.PP
Draws an arc.
.PP
\f[I]Parameters:\f[]
.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
.IP \[bu] 2
delta_theta \- Angular span of the arc (pass a negative number to switch
direction)
.IP \[bu] 2
thickness \- Thickness of the arc, pass \f[C]<=\ 0\f[] to draw hairline
arc
.SH SEE ALSO
.PP
al_calculate_arc(3), al_draw_elliptical_arc(3)
|