static Rect growRectProportionally(double p, Rect r) { int growX = iround(p*r.w), growY = iround(p*r.h); ret growRect(r, growX, growY); }