1al_draw_filled_pieslice(3) al_draw_filled_pieslice(3)
2
3
4
6 al_draw_filled_pieslice - Allegro 5 API
7
9 #include <allegro5/allegro_primitives.h>
10
11 void al_draw_filled_pieslice(float cx, float cy, float r, float start_theta,
12 float delta_theta, ALLEGRO_COLOR color)
13
15 Draws a filled pieslice (filled circular sector).
16
17 Parameters:
18
19 · cx, cy - Center of the pieslice
20
21 · r - Radius of the pieslice
22
23 · color - Color of the pieslice
24
25 · start_theta - The initial angle from which the pieslice is drawn in
26 radians
27
28 · delta_theta - Angular span of the pieslice in radians (pass a nega‐
29 tive number to switch direction)
30
32 5.0.6, 5.1.0
33
35 al_draw_pieslice(3)
36
37
38
39Allegro reference manual al_draw_filled_pieslice(3)