pclos() — Silicon Graphics Beta Release
NAME
pclos - polygon close
SPECIFICATION
C
pclos()
FORTRAN
subroutine pclos
Pascal
procedure pclos;
DESCRIPTION
pclos closes a filled polygon. It is used to terminate a sequence of pmv and pdr or rpmv and rpdr commands. The polygon so defined is filled using the current texture, color, 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();
The results are undefined if the polygon is not convex.
SEE ALSO
pdr, pmv, rpdr, rpmv
Version 2.3 — July 04, 1985