Searched refs:sourceRect (Results 1 – 9 of 9) sorted by relevance
/haiku/src/servers/app/drawing/Painter/bitmap_painter/ |
H A D | BitmapPainter.cpp | 58 Painter::BitmapPainter::Draw(const BRect& sourceRect, in Draw() argument 71 sourceRect.left, sourceRect.top, in Draw() 72 sourceRect.right, sourceRect.bottom); in Draw() 77 bool success = _DetermineTransform(sourceRect, destinationRect); in Draw() 178 Painter::BitmapPainter::_DetermineTransform(BRect sourceRect, in _DetermineTransform() argument 182 || !sourceRect.IsValid() in _DetermineTransform() 184 && !sourceRect.Intersects(fBitmapBounds)) in _DetermineTransform() 192 align_rect_to_pixels(&sourceRect); in _DetermineTransform() 197 fScaleX = (fDestinationRect.Width() + 1) / (sourceRect.Width() + 1); in _DetermineTransform() 198 fScaleY = (fDestinationRect.Height() + 1) / (sourceRect.Height() + 1); in _DetermineTransform() [all …]
|
H A D | BitmapPainter.h | 23 void Draw(const BRect& sourceRect, 28 BRect sourceRect,
|
/haiku/src/servers/app/drawing/interface/remote/ |
H A D | RemoteDrawingEngine.cpp | 1083 BRect sourceRect = region.RectAt(i).OffsetByCopy(-viewRect.LeftTop()); in _ExtractBitmapRegions() local 1084 int32 targetWidth = (int32)(sourceRect.Width() + 1.5); in _ExtractBitmapRegions() 1085 int32 targetHeight = (int32)(sourceRect.Height() + 1.5); in _ExtractBitmapRegions() 1088 sourceRect.left = (int32)(sourceRect.left * xScale + 0.5); in _ExtractBitmapRegions() 1089 sourceRect.right = (int32)(sourceRect.right * xScale + 0.5); in _ExtractBitmapRegions() 1091 targetWidth = (int32)(sourceRect.Width() + 1.5); in _ExtractBitmapRegions() 1095 sourceRect.top = (int32)(sourceRect.top * yScale + 0.5); in _ExtractBitmapRegions() 1096 sourceRect.bottom = (int32)(sourceRect.bottom * yScale + 0.5); in _ExtractBitmapRegions() 1098 targetHeight = (int32)(sourceRect.Height() + 1.5); in _ExtractBitmapRegions() 1101 sourceRect.OffsetBy(bitmapRect.LeftTop()); in _ExtractBitmapRegions() [all …]
|
/haiku/src/servers/app/ |
H A D | View.h | 150 IntRect sourceRect, IntRect destRect,
|
H A D | View.cpp | 493 View::SetViewBitmap(ServerBitmap* bitmap, IntRect sourceRect, in SetViewBitmap() argument 510 fBitmapSource = sourceRect; in SetViewBitmap()
|
/haiku/src/kits/interface/ |
H A D | ColumnListView.cpp | 2593 BRect sourceRect(0, 0, fSelectedColumn->Width(), columnHeight); in ResizeSelectedColumn() local 2594 BRect destRect(sourceRect); in ResizeSelectedColumn() 2600 DrawTitle(bufferView, sourceRect, fSelectedColumn, false); in ResizeSelectedColumn() 2605 DrawBitmap(bufferView->Bitmap(), sourceRect, destRect); in ResizeSelectedColumn() 3361 BRect sourceRect(0, 0, column->Width(), rowHeight); in RedrawColumn() local 3397 fResizeBufferView->FillRect(sourceRect, B_SOLID_LOW); in RedrawColumn() 3404 sourceRect.left += iterator.CurrentLevel() * kOutlineLevelIndent in RedrawColumn() 3411 BRect latchRect(sourceRect); in RedrawColumn() 3418 BRect fieldRect(sourceRect); in RedrawColumn() 3443 fResizeBufferView->StrokeRect(BRect(-1, sourceRect.top, in RedrawColumn() [all …]
|
H A D | PicturePlayer.cpp | 1246 const BRect* sourceRect; in _Play() local 1255 if (callbacks.draw_pixels == NULL || !reader.Get(sourceRect) in _Play() 1263 callbacks.draw_pixels(userData, *sourceRect, *destinationRect, in _Play()
|
/haiku/src/apps/terminal/ |
H A D | TermView.cpp | 2051 BRect sourceRect(destRect.OffsetByCopy(0, diff)); in ScrollTo() local 2055 CopyBits(sourceRect, destRect); in ScrollTo() 2407 BRect sourceRect(destRect.OffsetByCopy(0, scrollBy)); in _SynchronizeWithTextBuffer() local 2415 CopyBits(sourceRect, destRect); in _SynchronizeWithTextBuffer()
|
/haiku/src/kits/tracker/ |
H A D | PoseView.cpp | 9647 BRect sourceRect(Bounds()); in ResizeColumn() local 9648 BPoint result(sourceRect.RightBottom()); in ResizeColumn() 9650 BRect destRect(sourceRect); in ResizeColumn() 9652 BRect invalidateRect(sourceRect); in ResizeColumn() 9654 BRect columnDrawRect(sourceRect); in ResizeColumn() 9661 sourceRect.left = column->Offset() + kTitleColumnRightExtraMargin in ResizeColumn() 9664 destRect.right = destRect.left + sourceRect.Width(); in ResizeColumn() 9666 invalidateRect.right = sourceRect.right; in ResizeColumn() 9682 CopyBits(sourceRect, destRect); in ResizeColumn() 9691 CopyBits(sourceRect, destRect); in ResizeColumn() [all …]
|