Expand description
Bounded graphics-state preparation for the pinned PDF.js adapter, producing the convertible path subset and a page-level fidelity report. This does not authorize geometry. The explicit annotation planner separately composes qualified fills and bounded solid straight stroke outlines.
Structs§
- Fidelity
Report - Omission
- Omission
Summary - PdfVector
Graphics State - PdfVector
Operation - PdfVector
Page - Prepared
PdfVector Page - Prepared
PdfVector Path
Enums§
- PdfDash
Closure - PdfVector
Operator - One pinned-decoder operation. Geometry kinds carry construction-space numbers; semantic kinds carry exactly what the fidelity report needs to scope, place and classify content the planner cannot convert.
- PdfVector
Paint
Constants§
- FIDELITY_
ALGORITHM - MAX_
LISTED_ OMISSIONS - Detailed entries are bounded;
summarycounts stay complete.
Functions§
- prepare_
pdf_ vector_ page - Input identity is host-verified: native code receives decoded operations, not
raw PDF bytes. Invalid structure/budget refuses atomically. Content the planner
cannot convert is never dropped silently: it is reported with page extent and
visibility, and
fidelity.exactis false whenever any of it is visible. - prepare_
pdf_ vector_ page_ with_ clip - Prepare a PDF page within an optional registered rectangle in native PDF
space. The separate argument keeps
PdfVectorPagesource-compatible for Rust callers while the WASM wire format acceptsconversionClipPdf.