pub struct FixedPrint {
pub matrix: [f32; 6],
pub h: f32,
pub v: f32,
}Expand description
Decoded /FixedPrint dictionary for AnnotationKind::Watermark
(ISO 32000-1 §12.5.6.22 Table 191, round 204). All entries are
optional except /Type; the round-204 reader carries /Matrix
(defaulting to identity per spec), /H, and /V (each defaulting
to 0.0 per spec).
Fields§
§matrix: [f32; 6]/Matrix — six-number affine transform applied to the
annotation rectangle before rendering. Defaults to the
identity matrix [1 0 0 1 0 0] when omitted.
h: f32/H — horizontal translation as a fraction of the printed
media width (1.0 ≡ 100%). Defaults to 0.0 when omitted.
Per Table 191 negative values are not recommended (content
may render off-page).
v: f32/V — vertical translation as a fraction of the printed
media height. Defaults to 0.0 when omitted.
Trait Implementations§
Source§impl Clone for FixedPrint
impl Clone for FixedPrint
Source§fn clone(&self) -> FixedPrint
fn clone(&self) -> FixedPrint
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FixedPrint
impl Debug for FixedPrint
Source§impl Default for FixedPrint
impl Default for FixedPrint
Source§impl PartialEq for FixedPrint
impl PartialEq for FixedPrint
Source§fn eq(&self, other: &FixedPrint) -> bool
fn eq(&self, other: &FixedPrint) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FixedPrint
Auto Trait Implementations§
impl Freeze for FixedPrint
impl RefUnwindSafe for FixedPrint
impl Send for FixedPrint
impl Sync for FixedPrint
impl Unpin for FixedPrint
impl UnsafeUnpin for FixedPrint
impl UnwindSafe for FixedPrint
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more