1al_draw_arc(3)             Library Functions Manual             al_draw_arc(3)
2
3
4

NAME

6       al_draw_arc
7

SYNOPSIS

9              #include <allegro5/allegro_primitives.h>
10
11              void al_draw_arc(float cx, float cy, float r, float start_theta,
12                 float delta_theta, ALLEGRO_COLOR color, float thickness)
13

DESCRIPTION

15       Draws an arc.
16
17       Parameters:
18
19       · cx, cy - Center of the arc
20
21       · r - Radius of the arc
22
23       · color - Color of the arc
24
25       · start_theta - The initial angle from which the arc is calculated
26
27       · delta_theta  -  Angular  span  of  the arc (pass a negative number to
28         switch direction)
29
30       · thickness - Thickness of the circle, pass <= 0 to draw hairline  cir‐
31         cle
32

SEE ALSO

34       al_calculate_arc(3)
35
36
37
38Allegro reference manual                                        al_draw_arc(3)
Impressum