pangoLayoutIterGetRunReadonly {RGtk2}R Documentation

pangoLayoutIterGetRunReadonly

Description

Gets the current run. When iterating by run, at the end of each line, there's a position with a NULL run, so this function can return NULL. The NULL run at the end of each line ensures that all lines have at least one run, even lines consisting of only a newline.

Usage

pangoLayoutIterGetRunReadonly(object)

Arguments

object [PangoLayoutIter] a PangoLayoutIter

Details

This is a faster alternative to pangoLayoutIterGetRun, but the user is not expected to modify the contents of the run (glyphs, glyph widths, etc.).

Since 1.16

Value

[PangoLayoutRun] the current run, that should not be modified.

Author(s)

Derived by RGtkGen from GTK+ documentation


[Package RGtk2 version 2.12.5-3 Index]