pangoFontGetGlyphExtents        package:RGtk2        R Documentation

_p_a_n_g_o_F_o_n_t_G_e_t_G_l_y_p_h_E_x_t_e_n_t_s

_D_e_s_c_r_i_p_t_i_o_n:

     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.

_U_s_a_g_e:

     pangoFontGetGlyphExtents(object, glyph)

_A_r_g_u_m_e_n_t_s:

'object': ['PangoFont']  a 'PangoFont'

 'glyph': [numeric]  the glyph index

_D_e_t_a_i_l_s:

     If 'font' is 'NULL', this function gracefully sets some sane
     values in the output variables and returns.

_V_a_l_u_e:

     A list containing the following elements: 

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

_A_u_t_h_o_r(_s):

     Derived by RGtkGen from GTK+ documentation

