Learn R Programming

RGtk2 (version 2.12.17)

gdkDrawGlyphsTransformed: gdkDrawGlyphsTransformed

Description

Renders a PangoGlyphString onto a drawable, possibly transforming the layed-out coordinates through a transformation matrix. Note that the transformation matrix for font is not changed, so to produce correct rendering results, the font must have been loaded using a PangoContext with an identical transformation matrix to that passed in to this function.

Usage

gdkDrawGlyphsTransformed(drawable, gc, matrix, font, x, y, glyphs)

Arguments

gc
matrix
[PangoMatrix] a PangoMatrix, or NULL to use an identity transformation
font
[PangoFont] the font in which to draw the string
x
[integer] the x position of the start of the string (in Pango units in user space coordinates)
y
[integer] the y position of the baseline (in Pango units in user space coordinates)
glyphs
[PangoGlyphString] the glyph string to draw

Details

See also gdkDrawGlyphs, gdkDrawLayout.

Since 2.6