DOKK / manpages / debian 10 / allegro4-doc / spline.3alleg4.en
spline(3alleg4) Allegro manual spline(3alleg4)

spline - Draws a Bezier spline using four control points. Allegro game programming library.

#include <allegro.h>

void spline(BITMAP *bmp, const int points[8], int color);

Draws a Bezier spline using the four control points specified in the points array. Read the description of calc_spline() for information on how to build the points array.

calc_spline(3alleg4), drawing_mode(3alleg4), makecol(3alleg4), exspline(3alleg4)

version 4.4.2 Allegro