pangoLayoutIterGetLineExtents: pangoLayoutIterGetLineExtents

Description Usage Arguments Value Author(s)

View source: R/pangoFuncs.R

Description

Obtains the extents of the current line. ink.rect or logical.rect can be NULL if you aren't interested in them. Extents are in layout coordinates (origin is the top-left corner of the entire PangoLayout). Thus the extents returned by this function will be the same width/height but not at the same x/y as the extents returned from pangoLayoutLineGetExtents.

Usage

1

Arguments

object

[PangoLayoutIter] a PangoLayoutIter

Value

A list containing the following elements:

ink.rect

[PangoRectangle] rectangle to fill with ink extents, or NULL

logical.rect

[PangoRectangle] rectangle to fill with logical extents, or NULL

Author(s)

Derived by RGtkGen from GTK+ documentation


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