azul_text_layout::text_layout

Function word_positions_to_inline_text_layout

Source
pub fn word_positions_to_inline_text_layout(
    word_positions: &WordPositions,
    scaled_words: &ScaledWords,
) -> InlineTextLayout
Expand description

Returns the (left-aligned!) bounding boxes of the indidividual text lines