setSVGShapeContents      package:RSVGTipsDevice      R Documentation

_S_e_t _r_a_w _s_h_a_p_e _c_o_n_t_e_n_t_s (_X_M_L _t_e_x_t) _f_o_r _t_h_e _n_e_x_t _g_r_a_p_h_i_c_s _s_h_a_p_e _d_r_a_w_n _w_i_t_h _t_h_e _R_S_V_G_T_i_p_s _d_e_v_i_c_e.

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

     Set raw shape contents (XML text) for the next graphics shape
     drawn with the RSVGTips device.  This function provides
     lower-level access than 'setSVGShapeToolTip'.

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

     setSVGShapeContents(contents)

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

contents: A character vector containing XML text. 

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

     This function sets text that will be included in the SVG commands
     output for the next graphics shape drawn with 'RSVGTipsDevice'.

     Note that 'contents' is used as-is, with no substitutions made for
     special characters.  Consequently, it is possible to produce an
     invalid XML file by using special characters in contents (i.e.,
     "<", ">", "&", and single- and double-quotes.)  Such special
     characters should be replaced by their XML equivalent entity - see
     'setSVGShapeToolTip' for a list of these.

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

     Returns an invisible NULL.

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

     Tony Plate tplate@acm.org

_S_e_e _A_l_s_o:

     'RSVGTipsDevice'

_E_x_a_m_p_l_e_s:

