.\" Automatically generated by Pandoc 3.1.6.2 .\" .\" Define V font for inline verbatim, using C font in formats .\" that render this, and otherwise B font. .ie "\f[CB]x\f[]"x" \{\ . ftr V B . ftr VI BI . ftr VB B . ftr VBI BI .\} .el \{\ . ftr V CR . ftr VI CI . ftr VB CB . ftr VBI CBI .\} .TH "al_draw_spline" "3" "" "Allegro reference manual" "" .hy .SH NAME .PP al_draw_spline - Allegro 5 API .SH SYNOPSIS .IP .nf \f[C] #include void al_draw_spline(const float points[8], ALLEGRO_COLOR color, float thickness) \f[R] .fi .SH DESCRIPTION .PP 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[V]<= 0\f[R] to draw a hairline spline .SH SEE ALSO .PP al_calculate_spline(3)