al_draw_spline(3alleg5)

al_draw_spline3alleg5

Allegro 5 api

Usage

#include <allegro5/allegro_primitives.h>
void al_draw_spline(const float points[8], ALLEGRO_COLOR color, float thickness)

Overview

Draws a Bézier spline given 4 control points.

Parameters:

•

points - An array of 4 pairs of coordinates of the 4 control points

•

color - Color of the spline

•

thickness - Thickness of the spline, pass <= 0 to draw a hairline spline

Releases

6 releases since Debian 8 (Jessie); the text changed 5 times.

  1. 8
  2. 9
  3. 10
  4. 11
  5. 12
  6. 13

From allegro5-doc 2:5.2.10.1+dfsg-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.