pclos man page on IRIX

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



pclos(3G)							     pclos(3G)

NAME
     pclos - closes a filled polygon

C SPECIFICATION
     void pclos()

PARAMETERS
     none

DESCRIPTION
     pclos closes a filled polygon that has been created by using pmv and a
     sequence of pdr calls (or rpmv and rpdr calls).  It is not needed when
     using poly or polf because these procedures close the polygon within
     their own routines.  pclos closes the polygon by  connecting the last
     point with the first.  The polygon so defined is filled using the current
     pattern, color, and writemask.  For example, the following sequence draws
     a filled square:

	  pmv(0.0, 0.0, 0.0);
	  pdr(1.0, 0.0, 0.0);
	  pdr(1.0, 1.0, 0.0);
	  pdr(0.0, 1.0, 0.0);
	  pclos();

SEE ALSO
     bgnpolygon, endpolygon, pdr, pmv, v

NOTES
     pclos should not be used in new development.  Rather, polygons should be
     drawn using the high-performance v commands, surrounded by calls to
     bgnpolygon and endpolygon.

     There can be no more than 256 vertices in a polygon.  Therefore, there
     can be no more than 255 pdr calls between pmv and pclos.

     Be careful not to confuse pclos with the IRIX system call pclose, which
     closes an IRIX pipe.

									Page 1

[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