cairoPopGroupToSource         package:RGtk2         R Documentation

_c_a_i_r_o_P_o_p_G_r_o_u_p_T_o_S_o_u_r_c_e

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

     Terminates the redirection begun by a call to 'cairoPushGroup' or
     'cairoPushGroupWithContent' and installs the resulting pattern as
     the source pattern in the given cairo context.

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

     cairoPopGroupToSource(cr)

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

    'cr': ['Cairo']  a cairo context

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

     The behavior of this function is equivalent to the sequence of
     operations:


     group <- cr$popGroup()
     cr$setSource(group)
      but is more convenient as their is no need for a variable to
     store the short-lived pointer to the pattern.

     The 'cairoPopGroup' function calls 'cairoRestore', (balancing a
     call to 'cairoSave' by the push_group function), so that any
     changes to the graphics state will not be visible outside the
     group.  

     Since  1.2

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

     Derived by RGtkGen from GTK+ documentation

