rdr(3G)
rdr, rdri, rdrs, rdr2, rdr2i, rdr2s - relative draw
Showing IRIX 6.5.30 (default release). Unchanged since IRIX 6.5.
NAME rdr, rdri, rdrs, rdr2, rdr2i, rdr2s - relative draw FORTRAN 77 SPECIFICATION subroutine rdr(dx, dy, dz) real dx, dy, dz subroutine rdri(dx, dy, dz) integer*4 dx, dy, dz subroutine rdrs(dx, dy, dz) integer*2 dx, dy, dz subroutine rdr2(dx, dy) real dx, dy subroutine rdr2i(dx, dy) integer*4 dx, dy subroutine rdr2s(dx, dy) integer*2 dx, dy All of the above routines are functionally the same. They differ only in the type declarations of their parameters and whether or not 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 new point. dy expects the distance from the y coordinate of the current graphics position to the y coordinate of the new point. dz expects the distance from the z coordinate of the current graphics position to the z coordinate of the new point. DESCRIPTION rdr is the relative version of draw. It connects the current graphics position and a point, at the specified distance, with a line segment using the current linestyle, linewidth, color (if in depth-cue mode, the depth-cued color is used), and writemask. The system updates the current graphics position to the new point. Do not place routines that invalidate the current graphics position within sequences of relative moves and draws. SEE ALSO bgnlin, endlin, popmat, pushma, rmv, transl, v NOTE rdr should not be used in new development. Rather, lines should be drawn using the high-performance v commands, surrounded by calls to bgnlin and endlin. Matrix commands pushma, transl, and popmat should be used to accomplish relative positioning.