Method cairo_set_source_surface
cairo_set_source_surface(nint, nint, double, double)
Sets the specified surface as the source pattern for the given Cairo context at (x, y).
public static extern void cairo_set_source_surface(nint cr, nint surface, double x, double y)
Parameters
crnintPointer to a
cairo_tcontext.surfacenintPointer to a
cairo_surface_tto use as source.xdoubleX offset to place the surface.
ydoubleY offset to place the surface.
Remarks
After calling this, drawing operations on cr will
use the provided surface as the source.