pangoLayoutLineIndexToX {RGtk2}R Documentation

pangoLayoutLineIndexToX

Description

Converts an index within a line to a X position.

Usage

pangoLayoutLineIndexToX(object, index, trailing)

Arguments

object

a PangoLayoutLine

index

byte offset of a grapheme within the layout

trailing

an integer indicating the edge of the grapheme to retrieve the position of. If > 0, the trailing edge of the grapheme, if 0, the leading of the grapheme.

Value

A list containing the following elements:

x.pos

location to store the x_offset (in Pango unit). [ out ]

Author(s)

Derived by RGtkGen from GTK+ documentation


[Package RGtk2 version 2.20.21 Index]