splf man page on IRIX

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



splf(3G)							      splf(3G)

NAME
     splf, splfi, splfs, splf2, splf2i, splf2s - draws a shaded filled polygon

C SPECIFICATION
     void splf(n, parray, iarray)
     long n;
     Coord parray[][3];
     Colorindex iarray[];

     void splfi(n, parray, iarray)
     long n;
     Icoord parray[][3];
     Colorindex iarray[];

     void splfs(n, parray, iarray)
     long n;
     Scoord parray[][3];
     Colorindex iarray[];

     void splf2(n, parray, iarray)
     long n;
     Coord parray[][2];
     Colorindex iarray[];

     void splf2i(n, parray, iarray)
     long n;
     Icoord parray[][2];
     Colorindex iarray[];

     void splf2s(n, parray, iarray)
     long n;
     Scoord parray[][2];
     Colorindex iarray[];

     All of the above routines are functionally the same.  They differ only in
     the type declarations of their parameters and in whether they assume a
     two- or three-dimensional space.

PARAMETERS
     n	      expects the number of vertices in the polygon.  There can be no
	      more than 256 vertices in a single polygon.

     parray   expects an array containing the vertices of a polygon.

     iarray   expects the array containing the color map indices which
	      determine the intensities of the vertices of the polygon

DESCRIPTION
     splf draws Gouraud-shaded polygons using the current pattern and
     writemask.	 Polygons are represented as arrays of points.	The first and
     last points automatically connect to close a polygon.

									Page 1

splf(3G)							      splf(3G)

     If you want to use backface, you should specify the vertices in counter-
     clockwise order.

     After the polygon is drawn, the current graphics position is set to the
     first point in the array.

     splf must be used in color map mode.

SEE ALSO
     backface, cmode, concave, poly, rect, rectf, pdr, pmv, rpdr, rpmv

									Page 2

[top]

List of man pages available for IRIX

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