1al_draw_pieslice(3)                                        al_draw_pieslice(3)
2
3
4

NAME

6       al_draw_pieslice - Allegro 5 API
7

SYNOPSIS

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

DESCRIPTION

15       Draws a pieslice (outlined 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
31       · thickness - Thickness of the circle, pass <= 0 to draw hairline pies‐
32         lice
33

SINCE

35       5.0.6, 5.1.0
36

SEE ALSO

38       al_draw_filled_pieslice(3)
39
40
41
42Allegro reference manual                                   al_draw_pieslice(3)
Impressum