Delegate SkiaHelper.SkCanvasDrawPointsDelegate
Represents a delegate for drawing points on a canvas using the specified mode, point data, and paint.
public delegate void SkiaHelper.SkCanvasDrawPointsDelegate(nint canvas, SKPointMode mode, nint count, nint points, nint paint)
Parameters
canvasnintA pointer to the canvas on which the points will be drawn. Must not be
IntPtr.Zero.modeSKPointModeThe mode that determines how the points are interpreted and drawn. See SKPointMode for available modes.
countnintA pointer to the number of points to draw. Must not be
IntPtr.Zero.pointsnintA pointer to the array of points to be drawn. The array must contain at least the number of points specified by
count. Must not beIntPtr.Zero.paintnintA pointer to the paint object that defines the style and color of the points. Must not be
IntPtr.Zero.
Remarks
This delegate is used to invoke unmanaged code for drawing points on a canvas. The caller is responsible for ensuring that all pointers are valid and that the memory they reference remains accessible for the duration of the call.