Ubuntu Manpages

#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 (images/LINE_JOIN.png)]

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(3alleg5)