Learn R Programming

RGtk2 (version 2.8.7)

gdkPangoLayoutGetClipRegion: gdkPangoLayoutGetClipRegion

Description

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.

Usage

gdkPangoLayoutGetClipRegion(layout, x.origin, index.ranges)

Arguments

Value

[GdkRegion] a clip region containing the given ranges