Calculate the union of two rectangles.
void SDL_UnionRect(const SDL_Rect * A,
const SDL_Rect * B,
SDL_Rect * result);
A |
an SDL_Rect structure representing the first rectangle |
B |
an SDL_Rect structure representing the second rectangle |
result |
an SDL_Rect structure filled in with the union of rectangles |