al_draw_triangle(3)

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

πŸ’… al_draw_triangle(3) β€” Library Functions Manual πŸ’…

okay bestie, this is the Allegro 5 API page for al_draw_triangle, straight out of the Library Functions Manual. It’s giving β€œI just want the outline, not the whole filled situation” energy. ✨

πŸ’– NAME πŸ’–

al_draw_triangle β€” Allegro 5 API πŸ’…

✨ SYNOPSIS ✨

#include <allegro5/allegro_primitives.h>

void al_draw_triangle(float x1, float y1, float x2, float y2,
   float x3, float y3, ALLEGRO_COLOR color, float thickness)

πŸŽ€ DESCRIPTION πŸŽ€

Draws an outlined triangle. Not filled, bestie β€” outlined. The edges are the main character here. πŸ”Ίβœ¨

🧸 Parameters 🧸

  • x1, y1, x2, y2, x3, y3 β€” the three points of the triangle, fr fr. Three corners, six floats, no cap. πŸ“
  • color β€” the color of the triangle. Pick your vibe. 🎨
  • thickness β€” thickness of the lines; pass <= 0 to draw hairline lines. Yes, <= 0 is the hairline cheat code. πŸͺ‘

🌈 SEE ALSO 🌈


kisses and solidarity from the Allegro reference manual πŸ’– β€” source/version: Allegro reference manual + al_draw_triangle(3); date: not listed in this footer, so I’m not making one up, 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