pmv(3G)
pmv, pmvi, pmvs, pmv2, pmv2i, pmv2s - specifies the first point of a polygon
As shipped in IRIX 6.5.30. Unchanged since IRIX 6.5.
NAME pmv, pmvi, pmvs, pmv2, pmv2i, pmv2s - specifies the first point of a polygon FORTRAN 77 SPECIFICATION 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 All of the above routines are functionally the same. They differ only in the type declarations of their parameters and in whether or not they assume a two-dimensional or three-dimensional space. PARAMETERS x expects the x coordinate of the first point if a polygon. y expects the y coordinate of the first point of a polygon. z expects the z coordinate of the first point of a polygon. DESCRIPTION pmv specifies the starting point of a polygon. The next drawing command will start drawing from this point. You draw a typical polygon with a pmv, a sequence of pdr, and close it with a pclos. Between pmv and pclos, you can only issue the following Graphics Library subroutines: color, RGBcol, cpack, lmdef, lmbind pdr, c family of subroutines (for example, c3f), n family of subroutines (for example, n3f), and v family of subroutines (for example, v3f). Only use lmdef and lmbind to respecify materials and their properties. EXAMPLE The following sequence draws a square: call pmv(0.0, 0.0, 0.0) call pdr(1.0, 0.0, 0.0) call pdr(1.0, 1.0, 0.0) call pdr(0.0, 1.0, 0.0) call pclos SEE ALSO bgnpol, endpol, pclos, pdr, v NOTES pmv should not be used in new development. Rather, polygons should be drawn using the high-performance v commands, surrounded by calls to bgnpol and endpol. There can be no more than 256 vertices in a polygon. Therefore, there can be no more than 255 pdr calls between pmv and pclos.