Skip to main content

Module annot

Module annot 

Source
Expand description

Annotations (ISO 32000-1 §12.5): the subtype table, the flag word, and the record every reader in this crate works from.

Structs§

AnnotFlags
An annotation’s /F flag word (ISO 32000-1 table 165).
AnnotList
A page’s annotations as the rendering path sees them.
Annotation
One annotation, as every reader in this crate sees it.

Enums§

ApMode
Which appearance a lookup wants.
Subtype
An annotation’s /Subtype.

Functions§

annot_ap
Resolves an annotation’s appearance stream.
has_appearance
Whether an annotation already carries a usable normal appearance.
quad_point_count
How many complete quadrilaterals an array holds; a trailing partial one is ignored.
rect_from_quad_points
The rectangle for quadrilateral index, or the zero rectangle when the index is past the end. Deliberately not clamped to the last quadrilateral.