Learn R Programming

RGtk2 (version 2.20.31)

pangoRendererDrawGlyphItem: pangoRendererDrawGlyphItem

Description

Draws the glyphs in glyph.item with the specified PangoRenderer, embedding the text associated with the glyphs in the output if the output format supports it (PDF for example).

Usage

pangoRendererDrawGlyphItem(object, text, glyph.item, x, y)

Arguments

text
[char] the UTF-8 text that glyph.item refers to, or NULL
x
[integer] X position of left edge of baseline, in user space coordinates in Pango units.
y
[integer] Y position of left edge of baseline, in user space coordinates in Pango units.

Details

Note that text is the start of the text for layout, which is then indexed by glyph_item->item->offset. If text is NULL, this simply calls pangoRendererDrawGlyphs. The default implementation of this method simply falls back to pangoRendererDrawGlyphs. Since 1.22