al_draw_ribbon(3) Library Functions Manual al_draw_ribbon(3) NAME al_draw_ribbon - Allegro 5 API SYNOPSIS #include void al_draw_ribbon(const float *points, int points_stride, ALLEGRO_COLOR color, float thickness, int num_segments) DESCRIPTION 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. Parameters: o points - An array of coordinate pairs (x and y) for each point o points_stride - Distance (in bytes) between starts of successive pairs of coordinates in the points buffer o color - Color of the spline o thickness - Thickness of the spline, pass <= 0 to draw hairline spline o num_segments - The number of segments SEE ALSO al_calculate_ribbon(3) Allegro reference manual al_draw_ribbon(3)