Lines Matching defs:maxBounds
347 Rect maxBounds, bounds, strWidths;
352 kWindowDragRgn, NULL, &maxBounds);
356 if (bounds.left > maxBounds.right - strWidths.left) {
357 h = maxBounds.right
360 } else if (bounds.right < maxBounds.left
362 h = maxBounds.left
366 if (bounds.top > maxBounds.bottom - strWidths.top) {
367 v = maxBounds.bottom
370 } else if (bounds.bottom < maxBounds.top
372 v = maxBounds.top
375 } else if (strWidths.top && bounds.top < maxBounds.top) {
376 v = maxBounds.top - bounds.top;