The Polygon Group - Brother HL-Series Technical Reference Manual

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

Advertisement

Revision C 16/01/96

2.4. The polygon group

Instruction
EA
ER
EW
RA
RR
WG
EA - Edge Rectangle Absolute
EA 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.
• Plots 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.
10 '*** EAEX ***
20 LPRINT "IN;SP1;PA7000,4000;"
30 LPRINT "PT.3;FT1;RA6000,3000;"
40 LPRINT "SP3,;EA6000,3000;"
50 LPRINT "SP4;FT3,100;RA8000,3000;"
60 LPRINT "SP3,;EA8000,3000;"
70 LPRINT "SP5;PT.3;FT2;RA8000,5000;"
80 LPRINT "SP3;EA8000,5000;"
90 LPRINT "SP6;FT4,100,45;RA6000,5000;"
100 LPRINT "SP3;EA6000,5000;PG"
110 END
<Sample 72>
Function
Edge Absolute Rectangle
Edge Relative Rectangle
Edge Wedge
Fill Absolute Rectangle
Fill Relative Rectangle
Fill Wedge
Current position
Chapter 9 "HP-GL" 19
(X, Y)

Advertisement

Table of Contents
loading

Table of Contents