pangoRendererDrawGlyphItem: pangoRendererDrawGlyphItem

Description Usage Arguments Details Author(s)

View source: R/pangoFuncs.R

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

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

Arguments

object

[PangoRenderer] a PangoRenderer

text

[char] the UTF-8 text that glyph.item refers to, or NULL

glyph.item

[PangoGlyphItem] a PangoGlyphItem

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

Author(s)

Derived by RGtkGen from GTK+ documentation


RGtk2 documentation built on Oct. 14, 2021, 5:08 p.m.