pdr(3G) pdr(3G)
NAME
pdr - polygon draw
SPECIFICATION
C pdr(x, y, z)
Coord x, y, z;
pdri(x, y, z)
Icoord x, y, z;
pdrs(x, y, z)
Scoord x, y, z;
pdr2(x, y)
Coord x, y;
pdr2i(x, y)
Icoord x, y;
pdr2s(x, y)
Scoord x, y;
FORTRAN subroutine pdr(x, y, z)
real x, y, z
subroutine pdri(x, y, z)
integer*4 x, y, z
subroutine pdrs(x, y, z)
integer*2 x, y, z
subroutine pdr2(x, y)
real x, y
subroutine pdr2i(x, y)
integer*4 x, y
subroutine pdr2s(x, y)
integer*2 x, y
DESCRIPTION
pdr is the draw routine for filled polygons. You draw a
typical polygon with a pmv, a sequence of pdr and close it
with a pclos. 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();
Page 1 (printed 8/20/87)
pdr(3G) pdr(3G)
SEE ALSO
concave, pclos, pmv, rpdr, rpmv, shademodel
Programming Guide, Section 3.6, Polygons
Page 2 (printed 8/20/87)