Function
PangoCairo.show_glyph_item
Declaration [src]
void
pango_cairo_show_glyph_item (
cairo_t* cr,
const char* text,
PangoGlyphItem* glyph_item
)
Description [src]
Draws the glyphs in glyph_item
in the specified cairo context,
embedding the text associated with the glyphs in the output if the
output format supports it (PDF for example), otherwise it acts
similar to pango_cairo_show_glyph_string()
.
The origin of the glyphs (the left edge of the baseline) will be drawn at the current point of the cairo context.
Note that text
is the start of the text for layout, which is then
indexed by glyph_item->item->offset
.
Parameters
cr |
cairo_t* |
a Cairo context |
|
Ownership is not transferred to the callee | |
text |
const char* |
the UTF-8 text that |
|
Ownership is not transferred to the callee | |
The string is a NUL terminated UTF-8 string | |
glyph_item |
PangoGlyphItem* |
a |
|
Ownership is not transferred to the callee |