poly(3G)

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

As shipped in IRIX 6.5. First release of IRIX 6.5.

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

FORTRAN 77 SPECIFICATION
     subroutine poly(n, parray)
     integer*4 n
     real parray(3,n)

     subroutine polyi(n, parray)
     integer*4 n
     integer*4 parray(3,n)

     subroutine polys(n, parray)
     integer*4 n
     integer*2 parray(3,n)

     subroutine poly2(n, parray)
     integer*4 n
     real parray(2,n)

     subroutine poly2i(n, parray)
     integer*4 n
     integer*4 parray(2,n)

     subroutine poly2s(n, parray)
     integer*4 n
     integer*2 parray(2,n)

     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.
SEE ALSO
     bgnclo, linewi, linesm, lsrepe, polf, scrsub, setlin, shadem, subpix