static Rect rectUnionWithPt(Rect a, Pt p) { ret rectUnion(a, rect(p.x, p.y, 1, 1)); }