pangoLayoutLineGetPixelExtents {RGtk2}R Documentation

pangoLayoutLineGetPixelExtents

Description

Computes the logical and ink extents of a layout line. See the documentation for pangoFontGetGlyphExtents for details about the interpretation of the rectangles. The returned rectangles are in device units, as opposed to pangoLayoutLineGetExtents, which returns the extents in integer.

Usage

pangoLayoutLineGetPixelExtents(object)

Arguments

object [PangoLayoutLine] a PangoLayoutLine

Value

A list containing the following elements:

ink.rect [PangoRectangle] rectangle used to store the extents of the glyph string 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 or NULL to indicate that the result is not needed.

Author(s)

Derived by RGtkGen from GTK+ documentation


[Package RGtk2 version 2.8.5 Index]