sdlRenderFillRectF function
Fill a rectangle on the current rendering target with the drawing color at subpixel precision.
\param renderer The renderer which should fill a rectangle. \param rect A pointer to the destination rectangle, or NULL for the entire rendering target. \return 0 on success, or -1 on error
\since This function is available since SDL 2.0.10.
extern DECLSPEC int SDLCALL SDL_RenderFillRectF(SDL_Renderer * renderer, const SDL_FRect * rect)
Implementation
int sdlRenderFillRectF(Pointer<SdlRenderer> renderer, Pointer<SdlFRect> rect) {
final sdlRenderFillRectFLookupFunction = libSdl2.lookupFunction<
Int32 Function(Pointer<SdlRenderer> renderer, Pointer<SdlFRect> rect),
int Function(Pointer<SdlRenderer> renderer,
Pointer<SdlFRect> rect)>('SDL_RenderFillRectF');
return sdlRenderFillRectFLookupFunction(renderer, rect);
}