Struct read_fonts::tables::glyf::Transform
source · pub struct Transform {
pub xx: F2Dot14,
pub yx: F2Dot14,
pub xy: F2Dot14,
pub yy: F2Dot14,
}
Expand description
Transform for a composite component.
Fields§
§xx: F2Dot14
X scale factor.
yx: F2Dot14
YX skew factor.
xy: F2Dot14
XY skew factor.
yy: F2Dot14
Y scale factor.
Implementations§
source§impl Transform
impl Transform
sourcepub fn compute_flags(&self) -> CompositeGlyphFlags
pub fn compute_flags(&self) -> CompositeGlyphFlags
Compute the flags that describe this transform
Trait Implementations§
impl Copy for Transform
impl Eq for Transform
impl StructuralPartialEq for Transform
Auto Trait Implementations§
impl Freeze for Transform
impl RefUnwindSafe for Transform
impl Send for Transform
impl Sync for Transform
impl Unpin 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)