SDL_GetRectUnion3
Calculate the union of two rectangles.
Usage
#include "SDL3/SDL.h"
bool SDL_GetRectUnion(const SDL_Rect *A, const SDL_Rect *B, SDL_Rect *result);
Header file
Defined in SDL3/SDL_rect.h
Function parameters
A
|
an |
|---|---|
B
|
an |
result
|
an |
Return value
Returns true on success or false on failure; call
SDL_GetError () for more information.