1al_draw_elliptical_arc(3) al_draw_elliptical_arc(3)
2
3
4
6 al_draw_elliptical_arc - Allegro 5 API
7
9 #include <allegro5/allegro_primitives.h>
10
11 void al_draw_elliptical_arc(float cx, float cy, float rx, float ry, float start_theta,
12 float delta_theta, ALLEGRO_COLOR color, float thickness)
13
15 Draws an elliptical arc.
16
17 Parameters:
18
19 · cx, cy - Center of the arc
20
21 · rx, ry - Radii of the arc
22
23 · color - Color of the arc
24
25 · start_theta - The initial angle from which the arc is calculated in
26 radians
27
28 · delta_theta - Angular span of the arc in radians (pass a negative
29 number to switch direction)
30
31 · thickness - Thickness of the arc, pass <= 0 to draw hairline arc
32
34 5.0.6, 5.1.0
35
37 al_calculate_arc(3), al_draw_arc(3)
38
39
40
41Allegro reference manual al_draw_elliptical_arc(3)