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.


the text to process


the length (in bytes) of text


Analysis structure from itemize()


glyph string in which to store results