pangoFontGetGlyphExtents {RGtk2} | R Documentation |
Gets the logical and ink extents of a glyph within a font. The
coordinate system for each rectangle has its origin at the
base line and horizontal origin of the character with increasing
coordinates extending to the right and down. The functions pangoAscent()
,
pangoDescent()
, pangoLbearing()
, and pangoRbearing()
can be used to convert
from the extents rectangle to more traditional font metrics. The units
of the rectangles are in 1/PANGO_SCALE of a device unit.
pangoFontGetGlyphExtents(object, glyph)
|
|
|
the glyph index |
If font
is NULL
, this function gracefully sets some sane values in the
output variables and returns.
A list containing the following elements:
|
rectangle used to store the extents of the glyph as drawn
or |
|
rectangle used to store the logical extents of the glyph
or |
Derived by RGtkGen from GTK+ documentation