ALLEGRO_PRIM_QUALITY(3)

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

🌸 NAME 🌸

ALLEGRO_PRIM_QUALITY β€” the Allegro 5 API icon from the Library Functions Manual, aka the macro that controls how good your curved primitives look. She’s giving quality-control main character energy, no cap βœ¨πŸ’…


✨ SYNOPSIS ✨

#include <allegro5/allegro_primitives.h>

#define ALLEGRO_PRIM_QUALITY 10

πŸŽ€ DESCRIPTION πŸŽ€

Okay so ALLEGRO_PRIM_QUALITY literally controls the quality of the approximation of curved primitives (e.g. circles) πŸŒ€. Curved primitives are drawn by approximating them with a sequence of line segments β€” it’s giving smooth-ish but make it segments, iykyk 🫢.

By default, this roughly corresponds to an error of less than half of a pixel. Half. A. Pixel. She’s precise like that πŸ˜­πŸ’–


Signed off from the Allegro reference manual β€” ALLEGRO_PRIM_QUALITY(3), no date on this page, but she’s iconic anyway πŸ’…πŸŒΈ

πŸ“¦ 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