HP PCL/PJL reference (PCL 5 Printer Language) - Technical Reference Manual Part II

21-46 The Polygon Group EN
The WG command defines and fills a wedge using the current pen,
fill type, and line types. The WG command includes an automatic pen
down. When the command operation is complete, the original pen
location and up/down status are restored.
The only difference between the WG command and the EW (Edge
Wedge) command is that the WG command produces a filled wedge,
and the EW, an outlined one.
Always use isotropic scaling in any drawing that contains wedges (to
avoid drawing an elliptical wedge). (Refer to the discussion of scaling
in Chapter 17 for more information.)
Figure 21-26Fill Wedge with Scaling
z Radius — Specifies the distance from the current pen location
to the start of the wedge’s arc. Since the wedge is a portion of a
circle, this parameter is the radius of the circle. It specifies the
distance from the current pen location (which becomes the center
of the circle), to any point on the circumference of the circle.
The radius is interpreted in current units: as user-units when
scaling is on; as plotter units when scaling is off. The sign of
the radius (+ or -) determines the location of the zero-degree
reference point. The illustration following the parameter
descriptions shows the location of the zero-degree reference
point for a positive and negative radius.
z Start Angle — Specifies the beginning point of the arc as the
number of degrees from the zero-degree reference point. A
positive start angle positions the radius in the positive direction
(the direction from the +X-axis toward the +Y-axis) from the
zero-degree reference point; a negative start angle positions
the radius in a negative direction from the zero-degree reference
point. If you specify a start angle greater than 360°, a start angle
equal to the remainder of the start angle/360° is used.