cairoPatternCreateForSurface      package:RGtk2      R Documentation

_c_a_i_r_o_P_a_t_t_e_r_n_C_r_e_a_t_e_F_o_r_S_u_r_f_a_c_e

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

     Create a new cairo_pattern_t for the given surface.

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

     cairoPatternCreateForSurface(surface)

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

'surface': ['CairoSurface']  the surface 

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

     ['CairoPattern']  the newly created 'CairoPattern' if succesful,
     or an error pattern in case of no memory.  The caller owns the
     returned object and should call 'cairo\Pattern\Destroy()' when
     finished with it.

     This function will always return a valid pointer, but if an error
     occurred the pattern status will be set to an error.  To inspect
     the status of a pattern use 'cairoPatternStatus'.

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

     Derived by RGtkGen from GTK+ documentation

