sbool rectHigherThanWide(Rect r) { ret r != null && r.w > r.h; }