al_draw_ribbon - Man Page

Allegro 5 API

Synopsis

#include <allegro5/allegro_primitives.h>

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:

See Also

al_calculate_ribbon(3)

Referenced By

al_calculate_ribbon(3).

Allegro reference manual