Lines Matching defs:bounds
454 // clip the point into our data bounds
456 BRect bounds = DataBounds(true);
457 if (point.x < bounds.left)
458 point.x = bounds.left;
459 else if (point.x > bounds.right)
460 point.x = bounds.right;
462 if (point.y < bounds.top)
463 point.y = bounds.top;
464 else if (point.y >= bounds.bottom - kVerticalSpace)
465 point.y = bounds.bottom - kVerticalSpace - 1;
826 BRect bounds = Bounds();
827 if (bounds.Contains(frame))
845 BPoint point = bounds.LeftTop();
846 if (bounds.left > frame.left)
848 else if (bounds.right < frame.right)
849 point.x = frame.right - bounds.Width();
851 if (bounds.top > frame.top)
853 else if (bounds.bottom < frame.bottom)
854 point.y = frame.bottom - bounds.Height();
985 // adapt the font size to fit in the view's bounds
1044 BRect bounds = Bounds();
1045 if (!bounds.Contains(frame))
1046 frame = bounds & frame;
1426 BRect bounds = DataBounds();
1429 *_width = bounds.Width();
1432 *_height = bounds.Height();