GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
al_draw_ribbon(3) al_draw_ribbon(3)

al_draw_ribbon - Allegro 5 API


#include <allegro5/allegro_primitives.h>
void al_draw_ribbon(const float *points, int points_stride, ALLEGRO_COLOR color,
   float thickness, int num_segments)

    

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:

points - An array of coordinate pairs (x and y) for each point
points_stride - Distance (in bytes) between starts of successive pairs of coordinates in the points buffer
color - Color of the spline
thickness - Thickness of the spline, pass <= 0 to draw hairline spline
num_segments - The number of segments

al_calculate_ribbon(3)
Allegro reference manual

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.