al_calculate_ribbon man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

al_calculate_ribbon(3)					al_calculate_ribbon(3)

NAME
       al_calculate_ribbon - Allegro 5 API

SYNOPSIS
	      #include <allegro5/allegro_primitives.h>

	      void al_calculate_ribbon(float* dest, int dest_stride, const float *points,
		 int points_stride, float thickness, int num_segments)

DESCRIPTION
       Calculates  a  ribbon  given  an	 array	of points.  The ribbon will go
       through all of the passed points.  If thickness <= 0, then num_segments
       of  points  are	required in the destination buffer, otherwise twice as
       many are needed.	 The destination and the points buffer should  consist
       of  regularly spaced doublets of floats, corresponding to x and y coor‐
       dinates of the vertices.

       Parameters:

       · dest - Pointer to the destination buffer

       · dest_stride - Distance (in bytes) between starts of successive	 pairs
	 of coordinates in the destination buffer

       · points - An array of pairs of coordinates for each point

       · points_stride	-  Distance (in bytes) between starts successive pairs
	 of coordinates in the points buffer

       · thickness - Thickness of the spline ribbon

       · num_segments - The number of points to calculate

SEE ALSO
       al_draw_ribbon(3), al_calculate_arc(3), al_calculate_spline(3)

Allegro reference manual				al_calculate_ribbon(3)
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net