pclos() — 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 texture, 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.
SEE ALSO
pdr, pmv, rpdr, rpmv IRIS Graphics Programming, Section 3.6, Polygons
Version 2.5r1 — October 29, 1986