pangoLayoutLineGetXRanges       package:RGtk2       R Documentation

_p_a_n_g_o_L_a_y_o_u_t_L_i_n_e_G_e_t_X_R_a_n_g_e_s

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

     Gets a list of visual ranges corresponding to a given logical
     range. This list is not necessarily minimal - there may be
     consecutive ranges which are adjacent. The ranges will be sorted
     from left to right. The ranges are with respect to the left edge
     of the entire layout, not with respect to the line.

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

     pangoLayoutLineGetXRanges(object, start.index, end.index)

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

'object': ['PangoLayoutLine']         a 'PangoLayoutLine'

'start.index': [integer]  Start byte index of the logical range. If
          this value is less than the start index for the line, then
          the first range will extend all the way to the leading edge
          of the layout. Otherwise it will start at the leading edge of
          the first character.

'end.index': [integer]    Ending byte index of the logical range. If
          this value is greater than the end index for the line, then
          the last range will extend all the way to the trailing edge
          of the layout. Otherwise, it will end at the trailing edge of
          the last character.

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

     A list containing the following elements: 

'ranges': [integer]       location to store a pointer to a list of
          ranges. The list will be of length '2*n_ranges', with each
          range starting at '(*ranges)[2*n]' and of width
          '(*ranges)[2*n + 1] - (*ranges)[2*n]'. This list must be
          freed with 'gFree()'. The coordinates are relative to the
          layout and are in Pango units.

'n.ranges': [integer]  The number of ranges stored in 'ranges'.

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

     Derived by RGtkGen from GTK+ documentation

