Function SDL_UnionRect

pub unsafe extern "C" fn SDL_UnionRect(
    A: *const SDL_Rect,
    B: *const SDL_Rect,
    result: *mut SDL_Rect,
)
Available on crate feature dep_sdl2 only.
Expand description

Calculate the union of two rectangles.

\param A an SDL_Rect structure representing the first rectangle \param B an SDL_Rect structure representing the second rectangle \param result an SDL_Rect structure filled in with the union of rectangles A and B

\since This function is available since SDL 2.0.0.