1ALLEGRO_LINE_CAP(3)                                        ALLEGRO_LINE_CAP(3)
2
3
4

NAME

6       ALLEGRO_LINE_CAP - Allegro 5 API
7

SYNOPSIS

9              #include <allegro5/allegro_primitives.h>
10
11              typedef enum ALLEGRO_LINE_CAP
12

DESCRIPTION

14       · ALLEGRO_LINE_CAP_NONE
15
16       · ALLEGRO_LINE_CAP_SQUARE
17
18       · ALLEGRO_LINE_CAP_ROUND
19
20       · ALLEGRO_LINE_CAP_TRIANGLE
21
22       · ALLEGRO_LINE_CAP_CLOSED
23
24       [IMAGE: ALLEGRO_LINE_CAP styles (images/LINE_CAP.png)]
25
26       See the picture for the difference.
27
28       ALLEGRO_LINE_CAP_CLOSED  is  different  from the others - it causes the
29       polygon to have no caps.  (And the ALLEGRO_LINE_JOIN(3) style will  de‐
30       termine how the vertex looks.)
31

SINCE

33       5.1.0
34

SEE ALSO

36       al_draw_polygon(3)
37
38
39
40Allegro reference manual                                   ALLEGRO_LINE_CAP(3)
Impressum