pangoGlyphStringExtentsRange {RGtk2} | R Documentation

## pangoGlyphStringExtentsRange

### Description

Computes the extents of a sub-portion of a glyph string. The extents are relative to the start of the glyph string range (the origin of their coordinate system is at the start of the range, not at the start of the entire glyph string).

### Usage

    pangoGlyphStringExtentsRange(object, start, end, font)

### Arguments

``object`` | [`PangoGlyphString`] a `PangoGlyphString`
``start`` | [integer] start index
``end`` | [integer] end index (the range is the set of bytes with indices such that start <= index < end)
``font`` | [`PangoFont`] a `PangoFont`

### Value

A list containing the following elements:

``ink.rect`` | [`PangoRectangle`] rectangle used to store the extents of the glyph string range as drawn or `NULL` to indicate that the result is not needed.
``logical.rect`` | [`PangoRectangle`] rectangle used to store the logical extents of the glyph string range or `NULL` to indicate that the result is not needed.

### Author(s)

Derived by RGtkGen from GTK+ documentation

[Package RGtk2 version 2.20.40 Index]