Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ pclos(3G) — GL2 W3.6

Media Vault

Software Library

Restoration Projects

Artifacts Sought

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

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026