Skip to main content

Shaper

Trait Shaper 

Source
pub trait Shaper {
    // Required method
    fn shape_segment(
        &self,
        segment: &TextSegment,
        font: &FontMatch,
        direction: BidiDirection,
    ) -> Vec<GlyphInfo>;
}

Required Methods§

Source

fn shape_segment( &self, segment: &TextSegment, font: &FontMatch, direction: BidiDirection, ) -> Vec<GlyphInfo>

Implementors§