pangoGlyphItemApplyAttrs        package:RGtk2        R Documentation

_p_a_n_g_o_G_l_y_p_h_I_t_e_m_A_p_p_l_y_A_t_t_r_s

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

     Splits a shaped item (PangoGlyphItem) into multiple items based on
     an attribute list. The idea is that if you have attributes that
     don't affect shaping, such as color or underline, to avoid
     affecting shaping, you filter them out ('pangoAttrListFilter'),
     apply the shaping process and then reapply them to the result
     using this function.

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

     pangoGlyphItemApplyAttrs(glyph.item, text, list)

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

'glyph.item': ['PangoGlyphItem']  a shaped item

  'text': [char]  text that 'list' applies to

  'list': ['PangoAttrList']  a 'PangoAttrList'

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

     All attributes that start or end inside a cluster are applied to
     that cluster; for instance, if half of a cluster is underlined and
     the other-half strikethrough, then the cluster will end up with
     both underline and strikethrough attributes. In these cases, it
     may happen that item->extra_attrs for some of the result items can
     have multiple attributes of the same type.

     This function takes ownership of 'glyph.item'; it will be reused
     as one of the elements in the list.  

     Since  1.2

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

     [list]  a list of glyph items resulting from splitting
     'glyph.item'.

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

     Derived by RGtkGen from GTK+ documentation

