Lines Matching refs:unionRect
364 Rectangle unionRect, tempRect;
389 unionRect = getUsableBounds(gds[0]);
401 unionRect = unionRect.union(tempRect);
406 if ((unionRect.width / 2) + unionRect.x > center.x - 1 &&
407 (unionRect.height / 2) + unionRect.y > center.y - 1 &&
408 (unionRect.width / 2) + unionRect.x < center.x + 1 &&
409 (unionRect.height / 2) + unionRect.y < center.y + 1) {
414 return unionRect;
426 // otherwise, the center is at some weird spot: return unionRect
430 return unionRect;