cairoSurfaceFinish           package:RGtk2           R Documentation

_c_a_i_r_o_S_u_r_f_a_c_e_F_i_n_i_s_h

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

     This function finishes the surface and drops all references to
     external resources.  For example, for the Xlib backend it means
     that cairo will no longer access the drawable. After calling
     'cairoSurfaceFinish' the only valid operations on a surface are
     getting and setting user data and referencing and destroying it. 
     Further drawing to the surface will not affect the surface but
     will instead trigger a CAIRO_STATUS_SURFACE_FINISHED error.

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

     cairoSurfaceFinish(surface)

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

'surface': ['CairoSurface']  the 'CairoSurface' to finish

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

     When the last call to 'cairoSurfaceDestroy' decreases the
     reference count to zero, cairo will call 'cairoSurfaceFinish' if
     it hasn't been called already, before freeing the resources
     associated with the surface.

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

     Derived by RGtkGen from GTK+ documentation

