EasyManua.ls Logo

Brother HL-1670N - Page 355

Brother HL-1670N
496 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
8/2/2010
CHAPTER 9 HP-GL - 15
EW - Edge wedge
EW r,q1,qc(,qd)[;]
r ; Radius in user units or graphics units q1; Start point angle
qc ; Arc angle qd ; Chord angle
y Plots a wedge centred on the current position with radius r, start point angle q1, arc angle qc and chord angle
qd.
y After plotting, the cursor returns to its point of origin.
y Plotting is performed whether the pen is up or down.
y When scaling has been performed, the circle is plotted in user units.
y Also, when scaling has been performed, the value for r is a real number.
y When there is no scaling, the circle is plotted in graphics units.
y When there is no scaling, the coordinate value for r is an integer number.
y The value for q1 is a clamped real number.
q1
qc
r
0° reference point
current
position
y q1 specifies the wedge starting point related to the 0 degree reference point.
y
When q1 is positive, the positive direction of the X axis relative to the current position is set at 0 degrees and
the start point is sought in the counterclockwise direction. The opposite occurs when q1 is negative: the
negative X axis is set at 0 degrees and the start point is sought by going clockwise.
y
qc specifies the angle of the wedge in degrees.
y
The value for qc is a real number.
y
Plotting proceeds counterclockwise when qc is positive and clockwise when negative.
y
The value for qd is a clamped real number.
y When qd is not specified, the chord angle is the default value ( 5 degrees )
10 ' *** EWEX ***
20 LPRINT "IN;SP2;FT3,100;"
30 LPRINT "PA5000,4000;"
40 LPRINT "WG1250,90,180,5;"
50 LPRINT "SP3;EW1250,90,180,5;"
60 LPRINT "SP4,FT4,100,45;"
70 LPRINT "WG1250,270,120;"
80 LPRINT "SP3;EW1250,270,120;"
80 LPRINT "SP1;PT.3;FT1;"
100 LPRINT "WG1250,30,60;"
110 LPRINT "SP3;EW1250,30,60;PG;"
120 END
<Sample 76>

Table of Contents

Other manuals for Brother HL-1670N

Related product manuals