pangoLayoutGetPixelExtents {RGtk2} | R Documentation |
Computes the logical and ink extents of layout
in device units.
This function just calls pangoLayoutGetExtents
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
).
pangoLayoutGetPixelExtents(object)
|
[PangoLayout ] a PangoLayout |
A list containing the following elements:
|
[PangoRectangle ] rectangle used to store the extents of the layout as drawn
or NULL to indicate that the result is not needed. |
|
[PangoRectangle ] rectangle used to store the logical extents of the
layout or NULL to indicate that the result is not needed. |
Derived by RGtkGen from GTK+ documentation