static bool rectsOverlap(Rect a, Rect b) { ret !intersectRects(a, b).empty(); }