Skip to main content

reverse_cursive_minor_offset

Function reverse_cursive_minor_offset 

Source
fn reverse_cursive_minor_offset(
    pos: &mut [GlyphPosition],
    i: usize,
    direction: Direction,
    new_parent: usize,
) -> Option<()>
Expand description

Reverses the cursive chain from glyph i so that it ends at new_parent. Returns None only if i is outside pos.