DPAT
77
DPAT — select Dashed PATtern
Format
DPAT number;
Parameter
number:
number from 1 to 20 (11 to 20 are for user-defined patterns.)
Function
The DPAT command specifies the pattern of alternating black and white dashes to stroke
the current path.
The resident patterns range in value between 1 and 10. Refer to resident patterns list on
page 78. Numbers 11 to 20 are reserved for use with defining particular patterns using
the SDP (Store Dash Pattern) command. If you specify a value between 11 to 20 when no
user pattern has been defined, the path will be stroked in solid black.
The DPAT command does not affect the line drawn by the standard graphics commands
such as DRP, BOX, ARC, etc.
File
!R! RES; UNIT C;
MCRO DPAT;
NEWP;
SPD .2;
SCP;
SFNT "Helvetica-Nr", 10;
TEXT ’DPAT %1’;
PMRP 1.4, -.1; DPAT %1; PDRP 9, 0;
RPP; PMRP 0, .7;
STRK;
ENDM;
MZP 5, 5;
FONT 13;
CALL DPAT,1;
CALL DPAT,2;
CALL DPAT,3;
CALL DPAT,4;
CALL DPAT,5;
CALL DPAT,6;
CALL DPAT,7;
CALL DPAT,8;
CALL DPAT,9;
CALL DPAT,10;
PAGE;
EXIT;