Scroll to navigation

spline(3alleg4) Allegro manual spline(3alleg4)

NAME

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

SYNOPSIS

#include <allegro.h>

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

DESCRIPTION

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.

SEE ALSO

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

version 4.4.3 Allegro