ALLEGRO_LINE_CAP
Allegro 5 API
- Provided by: allegro5-doc (Version: 2:5.2.6.0-1)
- Source: allegro5
- Report a bug
Allegro 5 API
#include <allegro5/allegro_primitives.h>
typedef enum ALLEGRO_LINE_CAP
[IMAGE: ALLEGRO_LINE_CAP styles (images/LINE_CAP.png)]
See the picture for the difference.
ALLEGRO_LINE_CAP_CLOSED is different from the others - it causes the polygon to have no caps. (And the ALLEGRO_LINE_JOIN(3alleg5) style will determine how the vertex looks.)
5.1.0
al_draw_polygon(3alleg5)