pclos(3G) — Silicon Graphics
NAME
pclos − polygon close
SPECIFICATION
C
pclos()
FORTRAN
subroutine pclos
Pascal
procedure pclos;
DESCRIPTION
pclos closes a filled polygon. It terminates a sequence of pmv and pdr, or rpmv and rpdr. The polygon so defined is filled using the current pattern, color, and writemask. For example, the following sequence draws a 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();
All polygons must be convex.
Be careful not to confuse plcos with the UNIX system call pclose, which closes a UNIX pipe.
SEE ALSO
pdr, pmv, rpdr, rpmv Programming Guide, Section 3.6, Polygons
Version 3.6 — December 20, 1987