Lines Matching refs:bounds
386 BRect bounds(Bounds());
389 fOffScreenView = new BView(bounds, "", B_FOLLOW_ALL, B_WILL_DRAW);
397 fOffScreenBits = new BBitmap(bounds, B_RGBA32, true, false);
421 // makes sure the value is within valid bounds
482 BRect bounds(Bounds());
484 if (bounds.right <= 0.0f || bounds.bottom <= 0.0f)
492 fOffScreenView->ResizeTo(bounds.Width(), bounds.Height());
563 Makes sure the \a point is within valid bounds.
971 BRect bounds(Bounds());
992 BPoint(bounds.right - StringWidth(fUpdateText),
998 BPoint(0.0f, bounds.bottom - fontHeight.descent));
1003 BPoint(bounds.right - StringWidth(fMaxLimitLabel),
1004 bounds.bottom - fontHeight.descent));
1013 BPoint((bounds.Width() - StringWidth(Label())) / 2.0,
1020 BPoint((bounds.Width() - StringWidth(fMaxLimitLabel)) / 2.0,
1024 baseLine = bounds.bottom - ceilf(fontHeight.descent);
1028 BPoint((bounds.Width() - StringWidth(fMinLimitLabel)) / 2.0,
1035 BPoint((bounds.Width() - StringWidth(fUpdateText)) / 2.0,