pclos(3G)
pclos - closes a filled polygon
As shipped in IRIX 6.5.7. Unchanged since IRIX 6.5.
NAME pclos - closes a filled polygon FORTRAN 77 SPECIFICATION subroutine 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: call pmv(0.0, 0.0, 0.0) call pdr(1.0, 0.0, 0.0) call pdr(1.0, 1.0, 0.0) call pdr(0.0, 1.0, 0.0) call pclos SEE ALSO bgnpol, endpol, 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 bgnpol and endpol. 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.