Enum allsorts::gpos::Placement [−][src]
pub enum Placement { None, Distance(i32, i32), MarkAnchor(usize, Anchor, Anchor), MarkOverprint(usize), CursiveAnchor(usize, bool, Anchor, Anchor), }
Expand description
Adjustment to the placement of a glyph as a result of kerning and placement of an attachment relative to a base glyph.
Variants
Placement offset by distance delta.
Fields (delta x, delta y)
An anchored mark.
This is a mark where its anchor is aligned with the base glyph anchor.
Fields:
(base glyph index in Vec<Info>
, base glyph anchor, mark anchor)
MarkOverprint(usize)
An overprint mark.
This mark is shown at the same position as the base glyph.
Fields:
(base glyph index in Vec<Info>
)
Cursive anchored placement.
Fields:
- exit glyph index in
Vec<Info>
, - RIGHT_TO_LEFT flag from lookup table,
- exit glyph anchor,
- entry glyph anchor
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Placement
impl UnwindSafe for Placement