Skip to main content

Module pdf

Module pdf 

Source
Expand description

Pure-Rust Vector PDF 1.7 Exporter directly from strata_render::compositor::DisplayList.

Compiles rectangles, cubic-Bezier rounded rects, borders, gradients, vector SVG paths, text runs, embedded RGB/RGBA images, transforms, opacity states, and clip regions directly into spec-compliant PDF 1.7 bytes with exact xref byte offsets and optional FlateDecode compression (using miniz_oxide, zero extra crates).

Structs§

PdfExportOptions
Configuration controlling pure-Rust Vector PDF 1.7 compilation.

Enums§

PdfPageSize
Standard print page geometry in PDF points (72 pt = 1 inch).

Functions§

export_display_list_to_pdf
Compiles a DisplayList directly into a valid, spec-compliant Vector PDF 1.7 document.