Specifications

Revision C 16/01/96
Chapter 9 "HP-GL" 22
RA - Fill Rectangle Absolute
RA X, Y[;]
X ; X coordinate of opposite angle for the rectangle
Y ; Y coordinate of opposite angle for the rectangle
X and Y coordinates are absolute coordinates in user units or graphics units.
Fill in the rectangle formed by the current position and the opposite angle specified by X and Y.
After plotting, the cursor returns to its point of origin.
Plotting is performed whether the pen is up or down.
When scaling has been performed, the rectangle is plotted in user units.
Also, when scaling has been performed, the values for X and Y are real numbers.
When there is no scaling, the rectangle is plotted in graphics units.
When there is no scaling, the coordinate values for X and Y are integer numbers.
C
urrent position
(X, Y)
Fill pattern specified by FT an
d P
10 '*** RAEX ***
20 LPRINT "IN;SP1;PA5000,4000;"
30 LPRINT "PT.3;FT1;RA4250,3250;"
40 LPRINT "FT3,100;RA5750,3250;"
50 LPRINT "FT2;RA5750,4750;"
60 LPRINT "FT4,100,45;RA4250,4750;"
70 END
<Sample 71>