PRESCRIBE Command Reference
STRK —
Format
Parameter
Function
File
344
STRoKe current path
STRK;
None
The STRK command strokes the constructed path onto the current page according to the
following current graphics state:
•
Pen diameter (SPD)
•
Dash pattern (DPAT)
•
Fill pattern (FPAT)
•
Line cap (SCAP)
•
Line join (SLJN)
•
Flatness (FLAT)
A path itself will not place a line or graphic on a page because PRESCRIBE path-
construction commands only define the path. For the path to be drawn or filled as a line,
box, character, etc., on the page, the STRK command must be issued.
After stroking the current path, the STRK command clears the path and moves the cursor
to the end of the path.
!R! RES; UNIT C;
NEWP;
PMZP 7, 17;
SPD .2;
PDRP -2.5, 0, 0, 2.5, 2.5, 0, 0, -2.5;
PDRP 2.1, 1.25, 1.25, -2.1, -2.1, -1.25, -1.25, 2.1;
PMRP 0, 2.5;
PDRP 2.1, -1.25, 1.25, 2.1, -2.1, 1.25, -1.25, -2.1;
STRK;
PAGE;
EXIT;