sdlRenderDrawPointF function
Draw a point on the current rendering target at subpixel precision.
\param renderer The renderer which should draw a point. \param x The x coordinate of the point. \param y The y coordinate of the point. \return 0 on success, or -1 on error
\since This function is available since SDL 2.0.10.
extern DECLSPEC int SDLCALL SDL_RenderDrawPointF(SDL_Renderer * renderer, float x, float y)
Implementation
int sdlRenderDrawPointF(Pointer<SdlRenderer> renderer, double x, double y) {
final sdlRenderDrawPointFLookupFunction = libSdl2.lookupFunction<
Int32 Function(Pointer<SdlRenderer> renderer, Float x, Float y),
int Function(Pointer<SdlRenderer> renderer, double x,
double y)>('SDL_RenderDrawPointF');
return sdlRenderDrawPointFLookupFunction(renderer, x, y);
}