pmv() — Silicon Graphics
NAME
pmv − polygon move
SPECIFICATION
C
pmv(x, y, z)
Coord x, y, z;
pmvi(x, y, z)
Icoord x, y, z;
pmvs(x, y, z)
Scoord x, y, z;
pmv2(x, y)
Coord x, y;
pmv2i(x, y)
Icoord x, y;
pmv2s(x, y)
Scoord x, y;
FORTRAN
subroutine pmv(x, y, z)
real x, y, z
subroutine pmvi(x, y, z)
integer*4 x, y, z
subroutine pmvs(x, y, z)
integer*2 x, y, z
subroutine pmv2(x, y)
real x, y
subroutine pmv2i(x, y)
integer*4 x, y
subroutine pmv2s(x, y)
integer*2 x, y
Pascal
procedure pmv(x, y, z: Coord);
procedure pmvi(x, y, z: Icoord);
procedure pmvs(x, y, z: Scoord);
procedure pmv2(x, y: Coord);
procedure pmv2i(x, y: Icoord);
procedure pmv2s(x, y: Scoord);
DESCRIPTION
pmv is the move routine for filled polygons. You draw a typical polygon with a pmv, a sequence of pdr’s, 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();
All polygons must be convex.
SEE ALSO
pclos, pdr, rpdr, rpmv IRIS Graphics Programming, Section 3.6, Polygons
Version 2.5 — April 22, 1987