Struct gds21::GdsStrans [−][src]
pub struct GdsStrans {
pub reflected: bool,
pub abs_mag: bool,
pub abs_angle: bool,
pub mag: Option<f64>,
pub angle: Option<f64>,
}
Expand description
Gds Translation Settings
Reflection, rotation, and magnification for text-elements and references.
As configured by STRANS
records.
Fields
reflected: bool
Reflection, about the x-axis. Applied before rotation.
abs_mag: bool
Absolute Magnification Setting
abs_angle: bool
Absolute Angle Setting
mag: Option<f64>
Magnification Factor. Defaults to 1.0 if not specified.
angle: Option<f64>
Angle, in degrees counter-clockwise. Defaults to zero if not specified.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for GdsStrans
impl UnwindSafe for GdsStrans
Blanket Implementations
Mutably borrows from an owned value. Read more