PgContext.shape

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

class PgContext
static
void
shape

Parameters

text string

the text to process

length int

the length (in bytes) of text

analysis PangoAnalysis*

PangoAnalysis structure from pango_itemize()

glyphs PgGlyphString

glyph string in which to store results

Meta