Table of Contents

Method cairo_set_source_surface

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

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

cr nint

Pointer to a cairo_t context.

surface nint

Pointer to a cairo_surface_t to use as source.

x double

X offset to place the surface.

y double

Y offset to place the surface.

Remarks

After calling this, drawing operations on cr will use the provided surface as the source.