ALLEGRO_LINE_JOIN - Allegro 5 API
#include <allegro5/allegro_primitives.h> typedef enum ALLEGRO_LINE_JOIN
• |
ALLEGRO_LINE_JOIN_NONE |
|||
• |
ALLEGRO_LINE_JOIN_BEVEL |
|||
• |
ALLEGRO_LINE_JOIN_ROUND |
|||
• |
ALLEGRO_LINE_JOIN_MITER |
[IMAGE: ALLEGRO_LINE_JOIN styles]
See the picture for the difference.
The maximum miter length (relative to the line width) can be specified as parameter to the polygon functions.
5.1.0
al_draw_polygon(3)