pangoLayoutLineGetPixelExtents: pangoLayoutLineGetPixelExtents

Description Usage Arguments Value Author(s)

View source: R/pangoFuncs.R

Description

Computes the logical and ink extents of layout.line in device units. This function just calls pangoLayoutLineGetExtents followed by two pangoExtentsToPixels calls, rounding ink.rect and logical.rect such that the rounded rectangles fully contain the unrounded one (that is, passes them as first argument to pangoExtentsToPixels).

Usage

1

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

logical.rect

[PangoRectangle] rectangle used to store the logical extents of the glyph string, or NULL

Author(s)

Derived by RGtkGen from GTK+ documentation


RGtk2 documentation built on June 12, 2018, 5:06 p.m.