CHAPTER 4
230
Graphics
TABLE 4.10 Path-painting operators
OPERANDS
OPERATOR
DESCRIPTION
—
—
—
S
s
f
Stroke the path.
Close and stroke the path. This operator has the same effect as the sequence
h S
.
Fill the path, using the nonzero winding number rule to determine the region to fill
(see “Nonzero Winding Number Rule” on page 232). Any subpaths that are open
are implicitly closed before being filled.
Equivalent to
f
; included only for compatibility. Although PDF consumer applica-
tions must be able to accept this operator, PDF producer applications should use
f
instead.
Fill the path, using the even-odd rule to determine the region to fill (see “Even-Odd
Fill and then stroke the path, using the nonzero winding number rule to determine
the region to fill. This operator produces the same result as constructing two identi-
cal path objects, painting the first with
f
and the second with
S
. Note, however, that
the filling and stroking portions of the operation consult different values of several
graphics state parameters, such as the current color. See also “Special Path-Painting
Fill and then stroke the path, using the even-odd rule to determine the region to fill.
This operator produces the same result as
B
, except that the path is filled as if with
f*
instead of
f
. See also “Special Path-Painting Considerations” on page 569.
Close, fill, and then stroke the path, using the nonzero winding number rule to de-
termine the region to fill. This operator has the same effect as the sequence
h B
. See
also “Special Path-Painting Considerations” on page 569.
Close, fill, and then stroke the path, using the even-odd rule to determine the re-
gion to fill. This operator has the same effect as the sequence
h B*
. See also “Special
End the path object without filling or stroking it. This operator is a path-painting
no-op, used primarily for the side effect of changing the current clipping path (see
—
F
—
f*
—
B
—
B*
—
b
—
b*
—
n