Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ pclos(3g) — GL2 W2.5r1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

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

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