ALLEGRO_LINE_CAP(3)

πŸ“¦
version 5.2.11.3 Β· 3 versions
, in arch rolling

🌟 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 the ALLEGRO_LINE_CAP enum 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 πŸŽ€


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