Specifications

Revision C 16/01/96
Chapter 8 "HP-GL2" 28
EP - Edge Polygon
EP [;]
This command plots the outline of the polygon currently stored in the polygon buffer.
The command only plots between points defined when the pen was down.
The command plots an outline irrespective of whether the pen is currently up or down.
The command does not affect the data in the polygon buffer.
On completion of the plot the cursor returns to the original poition.
EW - Edge Wedge
EW
r
,
q1
,
qc
(,
qd
)[;]
r ; Radius in current units
q1; Start point angle
qc ; Arc angle
qd ; Chord angle
Plots a wedge centred on the current position with radius r, start point angle q1, arc angle qc, and chord
angle qd.
After plotting, the cursor returns to its point of origin.
Plotting is performed whether the pen is up or down.
You should use this command with the type "isotropic". Anisotropic type may make the wedge stretch.
r specifies the radius of the circle. A positive value for r places the 0° reference point onto the positive x-
axis and a negative value for r places the 0° reference point onto the negative x-axis.
The value for q1 is a clamped real number.
q1
qc
r
0° reference point
current
position
q1 specifies the wedge starting point relative to the 0 degree reference point.
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.
qc specifies the angle of the wedge in degrees.
The value for qc is a clamped real number.