sdlUnionFRect function
Calculate the union of two rectangles with float precision.
\param A an SDL_FRect structure representing the first rectangle
\param B an SDL_FRect structure representing the second rectangle
\param result an SDL_FRect structure filled in with the union of rectangles
A
and B
\since This function is available since SDL 2.0.22.
extern DECLSPEC void SDLCALL SDL_UnionFRect(const SDL_FRect * A, const SDL_FRect * B, SDL_FRect * result)
Implementation
void sdlUnionFRect(
Pointer<SdlFRect> a, Pointer<SdlFRect> b, Pointer<SdlFRect> result) {
final sdlUnionFRectLookupFunction = libSdl2.lookupFunction<
Void Function(
Pointer<SdlFRect> a, Pointer<SdlFRect> b, Pointer<SdlFRect> result),
void Function(Pointer<SdlFRect> a, Pointer<SdlFRect> b,
Pointer<SdlFRect> result)>('SDL_UnionFRect');
return sdlUnionFRectLookupFunction(a, b, result);
}