Skip to main content

Module interpreter_state

Module interpreter_state 

Source
Expand description

Graphics state stack for the content stream interpreter.

Implements the PDF graphics state model: a stack of states managed by q (save) and Q (restore) operators, with CTM management via cm, and color setting via G/g, RG/rg, K/k, SC/SCN/sc/scn operators.

Structsยง

InterpreterState
Full interpreter state that combines the CTM with the graphics state.