Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

pangoLayoutLineIndexToX

pangoLayoutLineIndexToX


Description

Converts an index within a line to a X position.

Usage

pangoLayoutLineIndexToX(object, index, trailing)

Arguments

object

[PangoLayoutLine] a PangoLayoutLine

index

[integer] byte offset of a grapheme within the layout

trailing

[logical] 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

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

Author(s)

Derived by RGtkGen from GTK+ documentation


RGtk2

R Bindings for Gtk 2.8.0 and Above

v2.20.36
GPL
Authors
Michael Lawrence <michafla@gene.com> and Duncan Temple Lang <duncan@wald.ucdavis.edu>
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.