Searched refs:bitmapBounds (Results 1 - 7 of 7) sorted by relevance
/haiku/src/apps/haikudepot/ui_generic/ |
H A D | BitmapView.cpp | 40 BRect bitmapBounds = fBitmap->Bounds(); 41 if (bitmapBounds.Width() <= 0.0f || bitmapBounds.Height() <= 0.0f) 47 float hScale = bounds.Width() / bitmapBounds.Width(); 48 float vScale = bounds.Height() / bitmapBounds.Height(); 53 float width = bitmapBounds.Width() * scale; 54 float height = bitmapBounds.Height() * scale; 85 DrawBitmap(fBitmap, bitmapBounds, bounds, B_FILTER_BITMAP_BILINEAR);
|
/haiku/src/kits/shared/ |
H A D | BitmapButton.cpp | 100 BRect bitmapBounds(fBitmap->Bounds()); 103 - (bitmapBounds.left + bitmapBounds.right)) / 2 + 0.5f), 105 - (bitmapBounds.top + bitmapBounds.bottom)) / 2 + 0.5f));
|
/haiku/src/kits/tracker/ |
H A D | BackgroundImage.cpp | 201 BRect bitmapBounds(info->fBitmap->Bounds()); 202 BRect destinationBitmapBounds(bitmapBounds); 212 (viewBounds.Width() - bitmapBounds.Width()) / 2, 213 (viewBounds.Height() - bitmapBounds.Height()) / 2); 243 (viewBounds.Width() - bitmapBounds.Width()) / 2, 244 (viewBounds.Height() - bitmapBounds.Height()) / 2); 251 view->SetViewBitmap(info->fBitmap, bitmapBounds, destinationBitmapBounds, 364 BRect bitmapBounds(fShowingBitmap->fBitmap->Bounds()); 365 BRect destinationBitmapBounds(bitmapBounds); 367 (viewBounds.Width() - bitmapBounds [all...] |
/haiku/src/servers/app/ |
H A D | Layer.cpp | 20 BRect bitmapBounds) 24 fBitmapBounds(bitmapBounds) 19 LayerCanvas(DrawingEngine* drawingEngine, DrawState* drawState, BRect bitmapBounds) argument
|
/haiku/src/tests/servers/app/drawing_modes/ |
H A D | DrawingModes.cpp | 288 BRect bitmapBounds = fBitmap->Bounds(); local 289 int32 imageHeight = bitmapBounds.IntegerHeight() + 10; 290 int32 imageWidth = bitmapBounds.IntegerWidth() + 10; 339 imageHeight * i + bitmapBounds.Height() / 2), B_SOLID_LOW); 340 FillRect(BRect(0, imageHeight * i + bitmapBounds.Height() / 2, 341 imageWidth * 2 - 10, imageHeight * i + bitmapBounds.Height()), 350 imageHeight * i + bitmapBounds.Height() / 3), B_SOLID_HIGH); 352 FillRect(BRect(0, imageHeight * i + bitmapBounds.Height() / 3, 353 imageWidth * 2 - 10, imageHeight * i + bitmapBounds.Height()), 356 FillRect(BRect(0, imageHeight * i + bitmapBounds [all...] |
/haiku/src/preferences/backgrounds/ |
H A D | BackgroundImage.cpp | 278 BRect bitmapBounds(bitmap->Bounds()); 279 BRect destinationBitmapBounds(bitmapBounds); 337 view->SetViewBitmap(bitmap, bitmapBounds, destinationBitmapBounds, 455 BRect bitmapBounds(fShowingBitmap->fBitmap->Bounds()); 456 BRect destinationBitmapBounds(bitmapBounds); 458 (viewBounds.Width() - bitmapBounds.Width()) / 2, 459 (viewBounds.Height() - bitmapBounds.Height()) / 2); 461 fView->SetViewBitmap(fShowingBitmap->fBitmap, bitmapBounds,
|
/haiku/src/kits/interface/ |
H A D | ChannelSlider.cpp | 602 BRect bitmapBounds(thumb->Bounds()); 603 where.x -= bitmapBounds.right / 2.0; 604 where.y -= bitmapBounds.bottom / 2.0; 606 BRect rect(bitmapBounds.OffsetToCopy(where));
|
Completed in 104 milliseconds