Brother HL-Series Technical Reference Manual page 288

Hide thumbs Also See for HL-Series:
Table of Contents

Advertisement

Revision C 16/01/96
RT - Relative Arc Three Point
RT X
, Y
, X
1
1
X
; x-coordinate of intermediate point
1
Y
; y-coordinate of intermediate point
2
X
; x-coordinate of end point
2
y
; y-coordinate of end point
2
qd ; the chord angle used to draw the arc
• The specified coordinates of the two points are relative to the current pen position.
• The command draws an arc from the current position, through the specified intermediate position and
finishing at the specified end position.
• After completion of the command the current cursor position is at the end of the arc.
• An arc can be drawn clockwise or anti-clockwise.
• If the current scaling mode is not isotropic, the arc may be elliptical rather than circular.
• The chord angle must be in the range 0.5° to 180°.
• The default chord angle is 5°.
10 '--Relative Arc Three Point--
20 WIDTH "LPT1:",255
30 LPRINT CHR$(27); "E";
40 LPRINT CHR$(27); "&0B";
50 LPRINT "IN;SP1;";
60 LPRINT "PA1000,100;PR;PD1500,0;"
70 LPRINT "PU-1850,1050;PD350,0;"
80 LPRINT "PU-350,-700;PD350;0;"
90 LPRINT "PU0,-350;PD0,1500,1500,0;"
100 LPRINT "RT800,-750,0,-1500;"
110 LPRINT "PU700,850;PD;"
120 LPRINT "RT100,-100,0,-200;"
130 LPRINT "PU100,100;PD200,0;"
140 LPRINT CHR&(27); "%0A";
150 LPRINT CHR$(27); "E";
160 END
<Sample 29>
, Y
[,qd] [;]
2
2
Chapter 8 "HP-GL2" 22

Advertisement

Table of Contents
loading

Table of Contents