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

pangoLayoutIndexToPos

pangoLayoutIndexToPos


Description

Converts from an index within a PangoLayout to the onscreen position corresponding to the grapheme at that index, which is represented as rectangle. Note that pos->x is always the leading edge of the grapheme and pos->x + pos->width the trailing edge of the grapheme. If the directionality of the grapheme is right-to-left, then pos->width will be negative.

Usage

pangoLayoutIndexToPos(object, index, pos)

Arguments

object

[PangoLayout] a PangoLayout

index

[integer] byte index within layout

pos

[PangoRectangle] rectangle in which to store the position of the grapheme

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.