pclos(3G)
pclos - closes a filled polygon
As shipped in IRIX 6.5.5. Unchanged since IRIX 6.5.
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.