Expand description
Document assembly: pages of canvas content, document metadata, and the
save path. Pdf is a plain struct — the fields are the composition,
and Default fills everything optional.
Structs§
- Date
- A calendar date and time with a UTC offset, for
/CreationDateand/ModDate. The writer never reads a clock — dates appear in output only when a caller provides them, keeping builds reproducible. - Link
Annotation - A clickable rectangle on a page that opens a URI (a
/Linkannotation with a/URIaction; ISO 32000 §12.5.6.5, §12.6.4.7). - Metadata
- Document information written to the
/Infodictionary. Every field is optional; an all-Nonevalue writes no dictionary at all. - Page
- One page: its size, rotation, painted content and link annotations.
- A document under construction. The fields are the composition:
singleton slots are
Options, pages keep the order given.
Enums§
- Page
Size - A page size, in default user-space units (1/72 inch), portrait.