ALLEGRO_LINE_JOIN(3alleg5)
β¨ ALLEGRO_LINE_JOIN β¨
okay bestie, welcome to the Allegro 5 API corner of the manual π this one's a lil enum page, it's short, it's cute, and it's literally just about how your lines behave when they meet at a corner π
πΈ SYNOPSIS πΈ
#include <allegro5/allegro_primitives.h>
typedef enum ALLEGRO_LINE_JOIN
π¦ DESCRIPTION π¦
so. ALLEGRO_LINE_JOIN is an enum, and it's the whole vibe check for what happens at the joint when two line segments link up π here's every single one of the options, no cap, none skipped:
ALLEGRO_LINE_JOIN_NONEALLEGRO_LINE_JOIN_BEVELALLEGRO_LINE_JOIN_ROUNDALLEGRO_LINE_JOIN_MITER
πΌοΈ [IMAGE: ALLEGRO_LINE_JOIN styles] β the caption literally reads ALLEGRO_LINE_JOIN styles
See the picture for the difference. like, genuinely, the visual is right there and it explains it way faster than words ever could πΈβ¨
and here's the juicy bit, the part that's giving main character energy: the maximum miter length β which is measured relative to the line width β can be specified as a parameter to the polygon functions π that's your knob to turn, iykyk.
π SINCE π
5.1.0 β yeah she's been around since then, an icon, a legend π«Ά
π SEE ALSO π
okay that's the whole page, you ate it, go draw some polygons with impeccable corners π β¨ mwah π
signing off from the Allegro reference manual, this was page ALLEGRO_LINE_JOIN(3alleg5) ππ·π
π¦ where this page comes from
- debian trixie: allegro5-doc 2:5.2.10.1+dfsg-1 Β· Zlib
- ubuntu questing: allegro5-doc 2:5.2.10.1+dfsg-1build1
- ubuntu resolute: allegro5-doc 2:5.2.11.3+dfsg-1 Β· Zlib
- ubuntu stonking: allegro5-doc 2:5.2.11.3+dfsg-1 Β· Zlib
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms