Skip to main content

Crate folio_content

Crate folio_content 

Source
Expand description

PDF content stream parsing and graphics state.

This module parses page content streams into a sequence of typed operations, maintains the graphics state stack, and provides an element-level iterator.

Structs§

GraphicsState
The complete graphics state at any point during content stream processing.
GraphicsStateStack
A graphics state stack that supports save/restore (q/Q operators).

Enums§

ContentOp
A parsed content stream operator with its operands.
PathSegment
Path segment types for path data.
TextOp
A text operation within a TJ array.

Functions§

parse_content_stream
Parse a content stream into a sequence of operations.