pub struct Transform {
pub frame_units: bool,
pub y_up: bool,
pub anchor: Keyed<[f64; 2]>,
pub translate_x: Keyed<f64>,
pub translate_y: Keyed<f64>,
pub scale_x: Keyed<f64>,
pub scale_y: Keyed<f64>,
pub rotate_deg: Keyed<f64>,
pub flip: [bool; 2],
}Expand description
ffcine.geo.transform/1: picture point q (from the picture’s middle) lands at
A + R·S·(flip(q) − A) + T from the frame’s middle.
Fields§
§frame_units: bool"units": "frame": anchor and translation in output frame sizes, else picture sizes.
y_up: bool"y": "up": positions with y up (negated); the importers write down.
anchor: Keyed<[f64; 2]>§translate_x: Keyed<f64>§translate_y: Keyed<f64>§scale_x: Keyed<f64>§scale_y: Keyed<f64>§rotate_deg: Keyed<f64>Counter-clockwise on screen.
flip: [bool; 2]Implementations§
Trait Implementations§
impl StructuralPartialEq for Transform
Auto Trait Implementations§
impl Forget for Transform
impl Freeze for Transform
impl RefUnwindSafe for Transform
impl Send for Transform
impl Sync for Transform
impl Unpin for Transform
impl UnsafeUnpin for Transform
impl UnwindSafe for Transform
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