| gdkPangoLayoutGetClipRegion {RGtk2} | R Documentation |
Obtains a clip region which contains the areas where the given ranges
of text would be drawn. x.origin and y.origin are the same position
you would pass to gdkDrawLayoutLine. index.ranges should contain
ranges of bytes in the layout's text.
gdkPangoLayoutGetClipRegion(layout, x.origin, index.ranges)
|
[PangoLayout] a PangoLayout |
|
[integer] X pixel where you intend to draw the layout with this clip |
|
[integer] list of byte indexes into the layout, where even members of list are start indexes and odd elements are end indexes |
[GdkRegion] a clip region containing the given ranges
Derived by RGtkGen from GTK+ documentation