Method

PangoOT.Buffer.get_glyphs

Declaration [src]

void
pango_ot_buffer_get_glyphs (
  const PangoOTBuffer* buffer,
  PangoOTGlyph** glyphs,
  int* n_glyphs
)

Description [src]

Gets the glyph array contained in a PangoOTBuffer.

The glyphs are owned by the buffer and should not be freed, and are only valid as long as buffer is not modified.

Available since:1.4

Parameters

glyphs An array of PangoOTGlyph
 

location to store the array of glyphs

 Direction: out
 The length of the array is in the n_glyphs argument
 The called function takes ownership of the data, and is responsible for freeing it
n_glyphs int*
 

location to store the number of glyphs

 Direction: out
 The called function takes ownership of the data, and is responsible for freeing it