pangoLayoutGetLineReadonly: pangoLayoutGetLineReadonly

Description Usage Arguments Details Value Author(s)

View source: R/pangoFuncs.R

Description

Retrieves a particular line from a PangoLayout.

Usage

1

Arguments

object

[PangoLayout] a PangoLayout

line

[integer] the index of a line, which must be between 0 and pango_layout_get_line_count(layout) - 1, inclusive.

Details

This is a faster alternative to pangoLayoutGetLine, but the user is not expected to modify the contents of the line (glyphs, glyph widths, etc.). Since 1.16

Value

[PangoLayoutLine] the requested PangoLayoutLine, or NULL if the index is out of range. This layout line can be ref'ed and retained, but will become invalid if changes are made to the PangoLayout. No changes should be made to the line.

Author(s)

Derived by RGtkGen from GTK+ documentation


RGtk2 documentation built on Oct. 14, 2021, 5:08 p.m.