Struct read_fonts::tables::glyf::PointMarker
source · pub struct PointMarker(/* private fields */);
Expand description
Marker bits for point flags that are set during variation delta processing and hinting.
Implementations§
source§impl PointMarker
impl PointMarker
sourcepub const HAS_DELTA: Self = _
pub const HAS_DELTA: Self = _
Marker for points that have an explicit delta in a glyph variation tuple.
sourcepub const TOUCHED_X: Self = _
pub const TOUCHED_X: Self = _
Marker that signifies that the x coordinate of a point has been touched by an IUP hinting instruction.
sourcepub const TOUCHED_Y: Self = _
pub const TOUCHED_Y: Self = _
Marker that signifies that the y coordinate of a point has been touched by an IUP hinting instruction.
sourcepub const TOUCHED: Self = _
pub const TOUCHED: Self = _
Marker that signifies that the both coordinates of a point has been touched by an IUP hinting instruction.
sourcepub const WEAK_INTERPOLATION: Self = _
pub const WEAK_INTERPOLATION: Self = _
Marks this point as a candidate for weak interpolation.
Used by the automatic hinter.
sourcepub const NEAR: PointMarker = _
pub const NEAR: PointMarker = _
Marker for points where the distance to next point is very small.
Used by the automatic hinter.
Trait Implementations§
source§impl BitOr for PointMarker
impl BitOr for PointMarker
source§impl Clone for PointMarker
impl Clone for PointMarker
source§fn clone(&self) -> PointMarker
fn clone(&self) -> PointMarker
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 moresource§impl Debug for PointMarker
impl Debug for PointMarker
source§impl Default for PointMarker
impl Default for PointMarker
source§fn default() -> PointMarker
fn default() -> PointMarker
Returns the “default value” for a type. Read more
source§impl PartialEq for PointMarker
impl PartialEq for PointMarker
impl Copy for PointMarker
impl Eq for PointMarker
impl StructuralPartialEq for PointMarker
Auto Trait Implementations§
impl Freeze for PointMarker
impl RefUnwindSafe for PointMarker
impl Send for PointMarker
impl Sync for PointMarker
impl Unpin for PointMarker
impl UnwindSafe for PointMarker
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
)