rdr(3G) — Silicon Graphics
NAME
rdr − relative draw
SPECIFICATION
C
rdr(dx, dy, dz)
Coord dx, dy, dz;
rdri(dx, dy, dz)
Icoord dx, dy, dz;
rdrs(dx, dy, dz)
Scoord dx, dy, dz;
rdr2(dx, dy)
Coord dx, dy;
rdr2i(dx, dy)
Icoord dx, dy;
rdr2s(dx, dy)
Scoord dx, dy;
FORTRAN
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
Pascal
procedure rdr(dx, dy, dz: Coord);
procedure rdri(dx, dy, dz: Icoord);
procedure rdrs(dx, dy, dz: Scoord;
procedure rdr2(dx, dy: Coord);
procedure rdr2i(dx, dy: Icoord);
procedure rdr2s(dx, dy: Scoord);
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
draw, move, rmv Programming Guide, Section 3.4, Lines
Version 3.6 — December 20, 1987