1al_draw_ribbon(3) Library Functions Manual al_draw_ribbon(3)
2
3
4
6 al_draw_ribbon
7
9 #include <allegro5/allegro_primitives.h>
10
11 void al_draw_ribbon(const float *points, int points_stride, ALLEGRO_COLOR color,
12 float thickness, int num_segments)
13
15 Draws a ribbon given given an array of points. The ribbon will go
16 through all of the passed points.
17
18 Parameters:
19
20 · points - An array of pairs of coordinates for each point
21
22 · color - Color of the spline
23
24 · thickness - Thickness of the spline, pass <= 0 to draw hairline
25 spline
26
28 al_calculate_ribbon(3)
29
30
31
32Allegro reference manual al_draw_ribbon(3)