[][src]Function sdl2_sys::SDL_IntersectRect

pub unsafe extern "C" fn SDL_IntersectRect(
    A: *const SDL_Rect,
    B: *const SDL_Rect,
    result: *mut SDL_Rect
) -> SDL_bool

\brief Calculate the intersection of two rectangles.

\return SDL_TRUE if there is an intersection, SDL_FALSE otherwise.