points method
Draw multiple points on the current rendering target at subpixel precision.
\param renderer the renderer which should draw multiple points. \param points the points to draw. \param count the number of points to draw. \returns true on success or false on failure; call SDL_GetError() for more information.
\threadsafety This function should only be called on the main thread.
\since This function is available since SDL 3.1.3.
\sa SDL_RenderPoint
extern SDL_DECLSPEC bool SDLCALL SDL_RenderPoints(SDL_Renderer *renderer, const SDL_FPoint *points, int count)
Implementation
bool points(List<math.Point<double>> points) {
var pointsPointer = points.calloc();
var result = sdlRenderPoints(this, pointsPointer, points.length);
calloc.free(pointsPointer);
return result;
}