SECTION 4.3
219
Graphics State
TABLE 4.7 Graphics state operators
OPERANDS
OPERATOR
DESCRIPTION
q
Save the current graphics state on the graphics state stack (see “Graphics
State Stack” on page 214).
Restore the graphics state by removing the most recently saved state from
the stack and making it the current state (see “Graphics State Stack” on
page 214).
Modify the current transformation matrix (CTM) by concatenating the
specified matrix (see Section 4.2.1, “Coordinate Spaces”). Although the
operands specify a matrix, they are written as six separate numbers, not as
an array.
Set the line width in the graphics state (see “Line Width” on page 215).
Set the line cap style in the graphics state (see “Line Cap Style” on page
216).
Set the line join style in the graphics state (see “Line Join Style” on page
216).
Set the miter limit in the graphics state (see “Miter Limit” on page 217).
Set the line dash pattern in the graphics state (see “Line Dash Pattern” on
page 217).
(PDF 1.1)
Set the color rendering intent in the graphics state (see “Render-
ing Intents” on page 260).
Set the flatness tolerance in the graphics state (see Section 6.5.1, “Flatness
Tolerance”).
flatness
is a number in the range 0 to 100; a value of 0 speci-
fies the output device’s default flatness tolerance.
(PDF 1.2)
Set the specified parameters in the graphics state.
dictName
is
the name of a graphics state parameter dictionary in the
ExtGState
subdic-
tionary of the current resource dictionary (see the next section).
Q
a b c d e f
cm
lineWidth
lineCap
w
J
lineJoin
j
miterLimit
dashArray dashPhase
M
d
intent
ri
flatness
i
dictName
gs
4.3.4 Graphics State Parameter Dictionaries
While some parameters in the graphics state can be set with individual operators,
as shown in Table 4.7, others cannot. The latter can only be set with the generic
graphics state operator
gs
(PDF 1.2).
The operand supplied to this operator is the
Index Bookmark Pages Text
Previous Next
Pages: Index All Pages
This HTML file was created by VeryPDF PDF to HTML Converter product.