Function sdl2_sys::SDL_UnionRect

source ยท
pub unsafe extern "C" fn SDL_UnionRect(
    A: *const SDL_Rect,
    B: *const SDL_Rect,
    result: *mut SDL_Rect,
)
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.