pangoLayoutGetPixelExtents       package:RGtk2       R Documentation

_p_a_n_g_o_L_a_y_o_u_t_G_e_t_P_i_x_e_l_E_x_t_e_n_t_s

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

     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').

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

     pangoLayoutGetPixelExtents(object)

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

'object': ['PangoLayout']    a 'PangoLayout'

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

     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.

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

     Derived by RGtkGen from GTK+ documentation

