Table of Contents

Method cairo_get_target

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

cairo_get_target(nint)

Returns the target surface associated with the given Cairo drawing context.

public static extern nint cairo_get_target(nint cr)

Parameters

cr nint

Pointer to a cairo_t drawing context.

Returns

nint

Pointer to the cairo_surface_t that is the current target for cr. Returns IntPtr.Zero if no target is set or on failure.