PDRP
191
PDRP — in Path, Draw to Relative Position
Format
PDRP x-coordinate, y-coordinate, ...;
Parameters
x-coordinate, y-coordinate:
coordinates as measured from the current cursor position
Function
The PDRP command adds a line to the current path from the current cursor position to a
specified relative position, measured in the units designated by the UNIT command. The
cursor moves to the specified coordinates. The coordinates may be positive or negative.
Negative coordinates may draw the line extending outside the current page. The
thickness of the line is designated by the SPD command.
Multiple pairs of coordinates may be specified. The printer then draws a connected series
of line segments, proceeding from one point to the next. For example, PDRP 1, 2, 3, 4; is
equivalent to PDRP 1, 2; PDRP 3, 4;.
File
!R! UNIT C; SPD .3;
CMNT Cube;
NEWP;
PMZP 5, 15;
PDRP 4, 0, 2, -2, 0, -4, -4, 0, -2, 2, 0, 4;
CLSP;
PMRP 4, 0;
PDRP 0, -4, -4, 0, 4, 0, 2, -2;
STRK;
PAGE;
EXIT;