poly2 man page on IRIX

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



poly(3G)							      poly(3G)

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

C SPECIFICATION
     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
     n	      expects the number of vertices in the polygon.

     parray   expects the array containing the vertices of the polygon.

DESCRIPTION
     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
     bgnclosedline, linewidth, linesmooth, lsrepeat, polf, scrsubdivide,
     setlinestyle, shademodel, subpixel

									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