pangoGlyphStringIndexToX {RGtk2}R Documentation

pangoGlyphStringIndexToX

Description

Converts from character position to x position. (X position is measured from the left edge of the run). Character positions are computed by dividing up each cluster into equal portions.

Usage

pangoGlyphStringIndexToX(object, text, analysis, index, trailing)

Arguments

object

the glyphs return from pangoShape

text

the text for the run

analysis

the analysis information return from pangoItemize

index

the byte index within text

trailing

whether we should compute the result for the beginning (FALSE) or end (TRUE) of the character.

Value

A list containing the following elements:

x.pos

location to store result

Author(s)

Derived by RGtkGen from GTK+ documentation


[Package RGtk2 version 2.20.21 Index]