Skip to main content

Module graphics_state

Module graphics_state 

Source
Expand description

PDF graphics state tracking.

Manages the graphics state stack including the Current Transformation Matrix (CTM), text state parameters, and color state needed for text extraction.

Structs§

GraphicsState
Full graphics state for PDF content stream processing.
GraphicsStateStack
Graphics state stack for q/Q save/restore operations.
Matrix
2D affine transformation matrix: [a b c d e f] Represents the transform: x’ = ax + cy + e, y’ = bx + dy + f
TextState
Text state parameters tracked during content stream processing.