.\" Automatically generated by Pandoc 2.2.1 .\" .TH "al_draw_ribbon" "3alleg5" "" "Allegro reference manual" "" .hy .SH NAME .PP al_draw_ribbon \- Allegro 5 API .SH SYNOPSIS .IP .nf \f[C] #include\ void\ al_draw_ribbon(const\ float\ *points,\ int\ points_stride,\ ALLEGRO_COLOR\ color, \ \ \ float\ thickness,\ int\ num_segments) \f[] .fi .SH DESCRIPTION .PP Draws a ribbon given an array of points. The ribbon will go through all of the passed points. The points buffer should consist of regularly spaced doublets of floats, corresponding to x and y coordinates of the vertices. .PP \f[I]Parameters:\f[] .IP \[bu] 2 points \- An array of coordinate pairs (x and y) for each point .IP \[bu] 2 points_stride \- Distance (in bytes) between starts of successive pairs of coordinates in the points buffer .IP \[bu] 2 color \- Color of the spline .IP \[bu] 2 thickness \- Thickness of the spline, pass \f[C]<=\ 0\f[] to draw hairline spline .IP \[bu] 2 num_segments \- The number of segments .SH SEE ALSO .PP al_calculate_ribbon(3alleg5)