azul_text_layout::text_layout

Function position_words

Source
pub fn position_words(
    words: &Words,
    scaled_words: &ScaledWords,
    text_layout_options: &ResolvedTextLayoutOptions,
) -> WordPositions
Expand description

Positions the words on the screen (does not layout any glyph positions!), necessary for estimating the intrinsic width + height of the text content.