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

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

Contents


poly(3G)							      poly(3G)


NAME    [Toc]    [Back]

     poly, polyi, polys, poly2,	poly2i,	poly2s - outlines a polygon

C SPECIFICATION    [Toc]    [Back]

     void poly(n, parray)
     long n;
     Coord parray[][3];

     void polyi(n, parray)
     long n;
     Icoord parray[][3];

     void polys(n, parray)
     long n;
     Scoord parray[][3];

     void poly2(n, parray)
     long n;
     Coord parray[][2];

     void poly2i(n, parray)
     long n;
     Icoord parray[][2];

     void poly2s(n, parray)
     long n;
     Scoord parray[][2];

     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.

     parray   expects the array	containing the vertices	of the polygon.

DESCRIPTION    [Toc]    [Back]

     poly outlines a polygon. A	polygon	is represented as an array of
     vertices.	The first and last vertices connect automatically to close the
     polygon.  The vertices can	be expressed as	integers, shorts, or real
     numbers, in 2-D or	3-D coordinates.  2-D polygons are drawn with z=0.

     Because the polygon is drawn as a sequence	of line	segments, it inherits
     all properties that affect	the drawing of lines.  These include the
     current color, writemask, line width, stipple pattern, shade model, line
     antialiasing mode,	and subpixel mode.  The	stipple	pattern	is initialized
     to	bit zero of the	current	linestyle before the polygon is	drawn, then
     shifted continuously through the segments of the polygon.






									Page 1






poly(3G)							      poly(3G)


SEE ALSO    [Toc]    [Back]

      
      
     bgnclosedline, linewidth, linesmooth, lsrepeat, polf, scrsubdivide,
     setlinestyle, shademodel, subpixel


									PPPPaaaaggggeeee 2222
[ Back ]
 Similar pages
Name OS Title
circ IRIX outlines a circle
ufmGetVectorOutline IRIX get vector outlines for specified characters
ufmGetExactOutline IRIX get exact outlines for specified characters
rect IRIX outlines a rectangular region
stload HP-UX Utility to load Scalable Type outlines
glutessvertex IRIX specify a vertex on a polygon
glutessnormal IRIX specify a normal for a polygon
gluTessNormal Tru64 specify a normal for a polygon
gluTessVertex Tru64 specify a vertex on a polygon
gluTessEndPolygon Tru64 delimit a polygon description
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service