Method DrawOnCairo
DrawOnCairo(nint, Action<SKSurface>?)
Paints the SkiaSharp buffer onto the given Cairo drawing context.
public static bool DrawOnCairo(nint cr, Action<SKSurface>? drawAction)
Parameters
crnintA pointer to the native Cairo context (cairo_t*) provided by the GTK3 paint event. This parameter represents the drawing context for the target GTK3 surface.
drawActionAction<SKSurface>The action to perform on the SkiaSharp surface.