rpdr(3G)
rpdr, rpdri, rpdrs, rpdr2, rpdr2i, rpdr2s - relative polygon draw
As shipped in IRIX 6.5.19. Unchanged since IRIX 6.5.
NAME rpdr, rpdri, rpdrs, rpdr2, rpdr2i, rpdr2s - relative polygon draw FORTRAN 77 SPECIFICATION subroutine rpdr(dx, dy, dz) real dx, dy, dz subroutine rpdri(dx, dy, dz) integer*4 dx, dy, dz subroutine rpdrs(dx, dy, dz) integer*2 dx, dy, dz subroutine rpdr2(dx, dy) real dx, dy subroutine rpdr2i(dx, dy) integer*4 dx, dy subroutine rpdr2s(dx, dy) integer*2 dx, dy All of the above routines are functionally the same. They differ only in the type declarations for their parameters and in whether they assume a two- or three-dimensional space. PARAMETERS dx expects the distance from the x coordinate of the current graphics position to the x coordinate of the next corner of the polygon. dy expects the distance from the y coordinate of the current graphics position to the y coordinate of the next corner of the polygon. dz expects the distance from the z coordinate of the current graphics position to the z coordinate of the next corner of the polygon. DESCRIPTION rpdr is the relative version of pdr. It specifies the next point in a filled polygon, using the previous point (the current graphics position) as the origin. rpdr updates the current graphics position. The next drawing routine will start drawing from that point. SEE ALSO bgnpol, endpol, pclos, rpmv, v NOTES rpdr 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. Matrix commands pushma, transl, and popmat should be used to accomplish relative positioning. There can be no more than 256 vertices in a polygon. Therefore, there can be no more than 255 rpdr calls between rpmv and pclos.