pangoItemize              package:RGtk2              R Documentation

_p_a_n_g_o_I_t_e_m_i_z_e

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

     Breaks a piece of text into segments with consistent directional
     level and shaping engine. Each byte of 'text' will be contained in
     exactly one of the items in the returned list; the generated list
     of items will be in logical order (the start offsets of the items
     are ascending).

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

     pangoItemize(context, text, start.index, length, attrs, cached.iter = NULL)

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

'context': ['PangoContext']    a structure holding information that
          affects the itemization process.

  'text': [char]       the text to itemize.

'start.index': [integer]  first byte in 'text' to process

'length': [integer]     the number of bytes (not characters) to process
          after 'start.index'. This must be >= 0.

 'attrs': ['PangoAttrList']      the set of attributes that apply to
          'text'.

'cached.iter': ['PangoAttrIterator']       Cached attribute iterator,
          or 'NULL'

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

     'cached.iter' should be an iterator over 'attrs' currently
     positioned at a range before or containing 'start.index';
     'cached.iter' will be advanced to the range covering the position
     just after 'start.index' + 'length'. (i.e. if itemizing in a loop,
     just keep passing in the same 'cached.iter').

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

     [list]  a 'list' of 'PangoItem' structures.

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

     Derived by RGtkGen from GTK+ documentation

