.\" Automatically generated by Pandoc 3.6.1 .\" .TH "al_draw_spline" "3" "" "Allegro reference manual" .SH NAME al_draw_spline \- Allegro 5 API .SH SYNOPSIS .IP .EX #include \f[B]\f[R] void al_draw_spline(const float points[8], ALLEGRO_COLOR color, float thickness) .EE .SH DESCRIPTION Draws a Bézier spline given 4 control points. .PP \f[I]Parameters:\f[R] .IP \[bu] 2 points \- An array of 4 pairs of coordinates of the 4 control points .IP \[bu] 2 color \- Color of the spline .IP \[bu] 2 thickness \- Thickness of the spline, pass \f[CR]<= 0\f[R] to draw a hairline spline .SH SEE ALSO al_calculate_spline(3)