ALLEGRO_LINE_CAP(3)

ALLEGRO_LINE_CAP3

Allegro 5 api

Usage

#include <allegro5/allegro_primitives.h>
typedef enum ALLEGRO_LINE_CAP

Overview

•

ALLEGRO_LINE_CAP_NONE

•

ALLEGRO_LINE_CAP_SQUARE

•

ALLEGRO_LINE_CAP_ROUND

•

ALLEGRO_LINE_CAP_TRIANGLE

•

ALLEGRO_LINE_CAP_CLOSED [IMAGE: ALLEGRO_LINE_CAP styles] ALLEGRO_LINE_CAP styles

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(3) style will determine how the vertex looks.)

Since

5.1.0

From allegro 5.2.11.3-2 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.