SDL_GetRectUnionFloat

Calculate the union of two rectangles with float precision.

extern (C) nothrow @nogc extern
bool
SDL_GetRectUnionFloat
(
const(SDL_FRect)* A
,
const(SDL_FRect)* B
,)

Parameters

A const(SDL_FRect)*

an SDL_FRect structure representing the first rectangle.

B const(SDL_FRect)*

an SDL_FRect structure representing the second rectangle.

result SDL_FRect*

an SDL_FRect structure filled in with the union of rectangles A and B.

Return Value

Type: bool

true on success or false on failure; call SDL_GetError() for more information.

Meta