cairo_set_target_surface3cairo_set_target_surfaceset surface for painting operations
void cairo_set_target_surface (cairo_t *cr, cairo_surface_t *surface)cr :a cairo_tsurface :an allocated cairo_surface_tDescriptionfunctionscairo_set_target_surface
Selects surfacee as the surface to draw on. If there already is a surface set, it will be substituted by surface. It references surfacee to ensure that it will be calid at least until another surface was selected or the cairo_t is destroyed.