Specifications

Revision C 16/01/96
Chapter 8 "HP-GL2" 21
AT - Absolute Arc Three Point
AT X
1
, Y
1
, X
2
, Y
2
[,
qd
] [;]
X
1
; x-coordinate of intermediate point Y
2
; y-coordinate of intermediate point
X
2
; x-coordinate of end point y
2
; y-coordinate of end point
qd ; the chord angle used to draw the arc
All coordinates are absolute and in current units.
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 '--Absolute 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;PD2500,100;"
70 LPRINT "PU650,1150;PD1000,1150;"
80 LPRINT "PU650,450;PD1000,450;"
90 LPRINT "PU1000,100;PD1000,1500,2500,1500;"
100 LPRINT "AT3200,800,2500,1500;"
110 LPRINT "PU3200,900;PD;"
120 LPRINT "AT3300,800,3200,700;"
130 LPRINT "PU3300,800;PD3500,800;"
140 LPRINT CHR$(27);"%0A";
150 LPRINT CHR&(27);"E";
160 END
<Sample 28>