ALLEGRO_PRIM_QUALITY(3)
πΈ 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