sdlRenderFillRectsF function
Fill some number of rectangles on the current rendering target with the drawing color at subpixel precision.
\param renderer The renderer which should fill multiple rectangles. \param rects A pointer to an array of destination rectangles. \param count The number of rectangles. \return 0 on success, or -1 on error
\since This function is available since SDL 2.0.10.
extern DECLSPEC int SDLCALL SDL_RenderFillRectsF(SDL_Renderer * renderer, const SDL_FRect * rects, int count)
Implementation
int sdlRenderFillRectsF(
Pointer<SdlRenderer> renderer, Pointer<SdlFRect> rects, int count) {
final sdlRenderFillRectsFLookupFunction = libSdl2.lookupFunction<
Int32 Function(
Pointer<SdlRenderer> renderer, Pointer<SdlFRect> rects, Int32 count),
int Function(Pointer<SdlRenderer> renderer, Pointer<SdlFRect> rects,
int count)>('SDL_RenderFillRectsF');
return sdlRenderFillRectsFLookupFunction(renderer, rects, count);
}