pangoLayoutGetExtents {RGtk2}R Documentation

pangoLayoutGetExtents

Description

Computes the logical and ink extents of layout. Logical extents are usually what you want for positioning things. The extents are given in layout coordinates; layout coordinates begin at the top left corner of the layout.

Usage

pangoLayoutGetExtents(object)

Arguments

object [PangoLayout] a PangoLayout

Value

A list containing the following elements:

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