pangoLayoutIndexToLineX        package:RGtk2        R Documentation

_p_a_n_g_o_L_a_y_o_u_t_I_n_d_e_x_T_o_L_i_n_e_X

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

     Converts from byte 'index.' within the 'layout' to line and X
     position. (X position is measured from the left edge of the line)

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

     pangoLayoutIndexToLineX(object, index., trailing)

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

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

'index.': [integer]     the byte index of a grapheme within the layout.

'trailing': [logical]   an integer indicating the edge of the grapheme
          to retrieve the position of. If 0, the trailing edge of the
          grapheme, if > 0, the leading of the grapheme.

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

     A list containing the following elements: 

  'line': [integer]       location to store resulting line index.
          (which will between 0 and pango_layout_get_line_count(layout)
          - 1)

 'x.pos': [integer]      location to store resulting position within
          line ('PANGO_SCALE' units per device unit)

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

     Derived by RGtkGen from GTK+ documentation

