ALLEGRO_LINE_CAP - Allegro 5 API
Contents
Description
• ALLEGRO_LINE_CAP_NONE
• ALLEGRO_LINE_CAP_SQUARE
• ALLEGRO_LINE_CAP_ROUND
• ALLEGRO_LINE_CAP_TRIANGLE
• ALLEGRO_LINE_CAP_CLOSED [IMAGE: ALLEGRO_LINE_CAPstyles] ALLEGRO_LINE_CAPstyles
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.)
Name
ALLEGRO_LINE_CAP - Allegro 5 API
See Also
al_draw_polygon(3alleg5) Allegro reference manual ALLEGRO_LINE_CAP(3alleg5)
Since
5.1.0
Synopsis
#include <allegro5/allegro_primitives.h>
typedef enum ALLEGRO_LINE_CAP
