static Rect rectMinSize(int minW, int minH, Rect r) { ret rect(r.x, r,y. max(r.w, minW), max(r.h, minH)); }