Searched refs:srcRect (Results 1 - 12 of 12) sorted by relevance

/haiku-fatelf/headers/os/interface/
H A DPolygon.h29 void MapTo(BRect srcRect, BRect dstRect);
44 void _MapPoint(BPoint* point, const BRect& srcRect,
47 const BRect& srcRect,
H A DView.h244 BRect srcRect, BRect dstRect,
255 BRect srcRect, BRect dstRect,
620 BRect srcRect, BRect dstRect,
/haiku-fatelf/src/kits/interface/
H A DPolygon.cpp110 BPolygon::MapTo(BRect srcRect, BRect dstRect) argument
113 _MapPoint(fPoints + i, srcRect, dstRect);
114 _MapRectangle(&fBounds, srcRect, dstRect);
208 BPolygon::_MapPoint(BPoint* point, const BRect& srcRect, const BRect& dstRect) argument
210 point->x = (point->x - srcRect.left) * dstRect.Width() / srcRect.Width()
212 point->y = (point->y - srcRect.top) * dstRect.Height() / srcRect.Height()
218 BPolygon::_MapRectangle(BRect* rect, const BRect& srcRect, argument
224 _MapPoint(&leftTop, srcRect, dstRec
[all...]
H A DPictureDataWriter.cpp400 PictureDataWriter::WriteDrawBitmap(const BRect &srcRect, argument
409 Write<BRect>(srcRect);
H A DView.cpp3652 BView::SetViewBitmap(const BBitmap* bitmap, BRect srcRect, BRect dstRect, argument
3655 _SetViewBitmap(bitmap, srcRect, dstRect, followFlags, options);
3680 BView::SetViewOverlay(const BBitmap* overlay, BRect srcRect, BRect dstRect, argument
3686 status_t status = _SetViewBitmap(overlay, srcRect, dstRect, followFlags,
5627 BView::_SetViewBitmap(const BBitmap* bitmap, BRect srcRect, BRect dstRect, argument
5637 fOwner->fLink->Attach<BRect>(srcRect);
/haiku-fatelf/src/apps/magnify/
H A DMagnify.cpp1883 BRect srcRect(0, 0, width - 1, height - 1);
1884 srcRect.OffsetBy(mouseLoc.x - (width / 2),
1887 if (force || CopyScreenRect(srcRect)) {
1888 srcRect.OffsetTo(BPoint(0, 0));
1891 DrawBitmap(fBitmap, srcRect, destRect);
1908 TOSMagnify::CopyScreenRect(BRect srcRect) argument
1914 if (srcRect.right > scrnframe.right)
1915 srcRect.OffsetTo(scrnframe.right - srcRect.Width(), srcRect
[all...]
/haiku-fatelf/src/apps/people/
H A DPictureView.cpp276 BRect srcRect = picture->Bounds(); local
278 if (srcRect.Width() > srcRect.Height())
279 size.height = srcRect.Height() * size.width / srcRect.Width();
281 size.width = srcRect.Width() * size.height / srcRect.Height();
292 DrawBitmapAsync(picture, srcRect, fPictureRect,
/haiku-fatelf/headers/private/interface/
H A DPictureDataWriter.h69 status_t WriteDrawBitmap(const BRect &srcRect, const BRect &dstRect, const int32 &width, const int32 &height,
/haiku-fatelf/src/apps/showimage/
H A DShowImageView.h125 BRect selection, BRect& srcRect,
127 void _GetSelectionMergeRects(BRect& srcRect,
H A DShowImageView.cpp717 BRect srcRect; local
719 _GetSelectionMergeRects(srcRect, dstRect);
721 DrawBitmap(fSelectionBitmap, srcRect, dstRect);
1027 ShowImageView::_GetMergeRects(BBitmap* merge, BRect selection, BRect& srcRect, argument
1031 // to the srcRect.
1038 srcRect = merge->Bounds().OffsetToCopy(B_ORIGIN);
1040 srcRect.left += clippedDstRect.left - dstRect.left;
1041 srcRect.top += clippedDstRect.top - dstRect.top;
1042 srcRect.right += clippedDstRect.right - dstRect.right;
1043 srcRect
1050 _GetSelectionMergeRects(BRect& srcRect, BRect& dstRect) argument
1070 BRect srcRect; local
[all...]
/haiku-fatelf/src/kits/tracker/
H A DPoseView.cpp1674 BPoseView::FinishPendingScroll(float &listViewScrollBy, BRect srcRect) argument
1682 if (srcRect.Width() > listViewScrollBy) {
1683 BRect dstRect = srcRect;
1684 srcRect.bottom -= listViewScrollBy;
1686 CopyBits(srcRect, dstRect);
1688 srcRect.bottom = dstRect.top;
1690 SynchronousUpdate(srcRect);
1723 BRect srcRect(Extent());
1724 srcRect.top = poseBounds.top;
1725 srcRect
8870 BRect srcRect = poseList->ItemAt(0)->CalcRect(BPoint(0, 0), this, false); local
[all...]
/haiku-fatelf/src/servers/app/
H A DServerWindow.cpp1796 BRect srcRect, dstRect; local
1799 link.Read<BRect>(&srcRect);
1812 fCurrentView->SetViewBitmap(bitmap, srcRect, dstRect,

Completed in 172 milliseconds