IntersectRect function user32
Calculates the intersection of two source rectangles and places the coordinates of the intersection rectangle into the destination rectangle.
To learn more, see learn.microsoft.com/windows/win32/api/winuser/nf-winuser-intersectrect.
Implementation
@pragma('vm:prefer-inline')
bool IntersectRect(
Pointer<RECT> lprcDst,
Pointer<RECT> lprcSrc1,
Pointer<RECT> lprcSrc2,
) => _IntersectRect(lprcDst, lprcSrc1, lprcSrc2) != FALSE;