al_draw_ribbon
void al_draw_ribbon(const float *points, int points_stride, ALLEGRO_COLOR color,
float thickness, int num_segments)
Introduced in 5.0.0
Draws a ribbon given given an array of points. The ribbon will go through all of the passed points.
Parameters:
- points - An array of pairs of coordinates for each point
- color - Color of the spline
- thickness - Thickness of the spline, pass
<= 0
to draw hairline spline
See also: al_calculate_ribbon
Most helpful discussions: