---
name: "spline"
section: "3alleg4"
platform: "linux"
package: "allegro4-doc"
version: "2:4.4.3.1-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/spline/3alleg4"
---

# spline(3alleg4)

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

## 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)
