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

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

Contents


pclos(3G)							     pclos(3G)


NAME    [Toc]    [Back]

     pclos - closes a filled polygon

C SPECIFICATION    [Toc]    [Back]

     void pclos()

PARAMETERS    [Toc]    [Back]

     none

DESCRIPTION    [Toc]    [Back]

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

      
      
     bgnpolygon, endpolygon, pdr, pmv, v

NOTES    [Toc]    [Back]

     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.


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
polf IRIX draws a filled polygon
splf IRIX draws a shaded filled polygon
arcf IRIX draw a filled circular arc
circf IRIX draws a filled circle
sboxf IRIX draw a filled screen-aligned rectangle
alGetFilled IRIX return the number of filled sample frames in an audio port
MrmCloseHierarchy Tru64 Closes a UID hierarchy
DtMmdbCloseInfoLib HP-UX closes an infolib
MrmCloseHierarchy IRIX Closes a UID hierarchy
CDclose IRIX closes a CD-ROM device
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service