Function pango::functions::shape[][src]

pub fn shape(text: &str, analysis: &Analysis, glyphs: &mut GlyphString)
Expand description

Given a segment of text and the corresponding Analysis structure returned from itemize(), convert the characters into glyphs. You may also pass in only a substring of the item from itemize().

It is recommended that you use pango_shape_full() instead, since that API allows for shaping interaction happening across text item boundaries.

text

the text to process

length

the length (in bytes) of text

analysis

Analysis structure from itemize()

glyphs

glyph string in which to store results