Allegro 5 api
#include <allegro5/allegro_primitives.h> #define ALLEGRO_PRIM_QUALITY 10
Defines the quality of the quadratic primitives. At 10, this roughly corresponds to error of less than half of a pixel.