*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> standard/splf (3)              
Title
Content
Arch
Section
 

Contents


splf(3G)							      splf(3G)


NAME    [Toc]    [Back]

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

C SPECIFICATION    [Toc]    [Back]

     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    [Toc]    [Back]

     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    [Toc]    [Back]

     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 counterclockwise
 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    [Toc]    [Back]

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


									PPPPaaaaggggeeee 2222
[ Back ]
 Similar pages
Name OS Title
polf IRIX draws a filled polygon
circf IRIX draws a filled circle
pclos IRIX closes a filled polygon
xearth Tru64 displays a shaded image of the Earth in the root window
arcf IRIX draw a filled circular arc
sboxf IRIX draw a filled screen-aligned rectangle
alGetFilled IRIX return the number of filled sample frames in an audio port
ALgetfilled IRIX (obsolete) return the number of filled sample locations in an audio port
draw IRIX draws a line
pnt IRIX draws a point
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service