pub enum AnchorTable<'a> {
Format1(AnchorFormat1<'a>),
Format2(AnchorFormat2<'a>),
Format3(AnchorFormat3<'a>),
}
Expand description
Anchor Tables position one glyph with respect to another.
Variants§
Implementations§
Source§impl<'a> AnchorTable<'a>
impl<'a> AnchorTable<'a>
Sourcepub fn offset_data(&self) -> FontData<'a>
pub fn offset_data(&self) -> FontData<'a>
Return the FontData
used to resolve offsets for this table.
Sourcepub fn anchor_format(&self) -> u16
pub fn anchor_format(&self) -> u16
Format identifier, = 1
Sourcepub fn x_coordinate(&self) -> i16
pub fn x_coordinate(&self) -> i16
Horizontal value, in design units
Sourcepub fn y_coordinate(&self) -> i16
pub fn y_coordinate(&self) -> i16
Vertical value, in design units
Source§impl<'a> AnchorTable<'a>
impl<'a> AnchorTable<'a>
Trait Implementations§
Source§impl<'a> Clone for AnchorTable<'a>
impl<'a> Clone for AnchorTable<'a>
Source§fn clone(&self) -> AnchorTable<'a>
fn clone(&self) -> AnchorTable<'a>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl<'a> Freeze for AnchorTable<'a>
impl<'a> RefUnwindSafe for AnchorTable<'a>
impl<'a> Send for AnchorTable<'a>
impl<'a> Sync for AnchorTable<'a>
impl<'a> Unpin for AnchorTable<'a>
impl<'a> UnwindSafe for AnchorTable<'a>
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