pub struct Measure {
pub subtype: String,
pub bounds: Option<[f32; 4]>,
pub gpts: Option<Vec<f32>>,
pub gcs: Option<GeographicCoordinateSystem>,
pub pdu: Option<String>,
pub du: Option<String>,
pub a: Option<String>,
}Expand description
A measure dictionary describing geospatial coordinate systems and units for an annotation (PDF §13.2, Table 261).
Fields§
§subtype: String/Subtype - the measurement type (e.g., GEO for geographic).
bounds: Option<[f32; 4]>/Bounds - a rectangle in default user space defining the measurement
region (optional, defaults to annotation /Rect).
gpts: Option<Vec<f32>>/GPTS - geospatial points array defining the mapping between PDF
coordinates and real-world coordinates (lat/lon pairs).
gcs: Option<GeographicCoordinateSystem>/GCS - the geographic coordinate system dictionary (Table 262).
pdu: Option<String>/PDU - point distance units (e.g., KM, MI).
du: Option<String>/DU - display units for measurements (e.g., M, FT).
a: Option<String>/A - area units (e.g., SQKM, HA).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Measure
impl RefUnwindSafe for Measure
impl Send for Measure
impl Sync for Measure
impl Unpin for Measure
impl UnsafeUnpin for Measure
impl UnwindSafe for Measure
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