ALLEGRO_LINE_CAP(3)
π NAME π
Okay bestie, welcome to ALLEGRO_LINE_CAP(3) β the Allegro 5 API page for the ALLEGRO_LINE_CAP enum. It's giving line-cap options, and yes, one of them is literally the βno capsβ one ππ
.
β¨ SYNOPSIS β¨
#include <allegro5/allegro_primitives.h>
typedef enum ALLEGRO_LINE_CAP
π DESCRIPTION π
The enum has these values, and you're gonna want to keep every single one:
ALLEGRO_LINE_CAP_NONEβ one of theALLEGRO_LINE_CAPenum values, periodt.ALLEGRO_LINE_CAP_SQUAREβ another enum value in the lineup β¨.ALLEGRO_LINE_CAP_ROUNDβ yep, still an enum value, slay.ALLEGRO_LINE_CAP_TRIANGLEβ another one, iconic.ALLEGRO_LINE_CAP_CLOSEDβ [IMAGE: ALLEGRO_LINE_CAP styles] β caption:ALLEGRO_LINE_CAP styles. This one is the special little main character π«Ά.
See the picture for the difference, bestie π.
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. That's the whole vibe check πβ¨.
π¦ SINCE π¦
5.1.0 β this has been around since then, no cap π.
π SEE ALSO π
al_draw_polygon(3)β go peek, iykyk πΈ.
Byeee π β this was the Allegro reference manual's ALLEGRO_LINE_CAP(3) page. Catch you in the next manpage, bestie π«Άβ¨
π¦ where this page comes from
- arch rolling: allegro 5.2.11.3-2 Β· Zlib AND BSD-3-Clause AND OFL-1.1 AND LicenseRef-Custom
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms