Lines Matching refs:bounds
35 BRect bounds(Bounds());
47 float hScale = bounds.Width() / bitmapBounds.Width();
48 float vScale = bounds.Height() / bitmapBounds.Height();
60 bounds.left = floorf(bounds.right - width);
64 bounds.left = floorf(bounds.left
65 + (bounds.Width() - width) / 2.0f);
72 bounds.top = floorf(bounds.bottom - height);
76 bounds.top = floorf(bounds.top
77 + (bounds.Height() - height) / 2.0f);
81 bounds.right = ceilf(bounds.left + width);
82 bounds.bottom = ceilf(bounds.top + height);
85 DrawBitmap(fBitmap, bitmapBounds, bounds, B_FILTER_BITMAP_BILINEAR);
95 BRect bounds = fBitmap->Bounds();
96 size.width = bounds.Width();
97 size.height = bounds.Height();