Searched refs:dstRect (Results 1 - 13 of 13) sorted by relevance

/haiku-fatelf/headers/os/interface/
H A DPolygon.h29 void MapTo(BRect srcRect, BRect dstRect);
45 const BRect& dstRect);
48 const BRect& dstRect);
H A DView.h244 BRect srcRect, BRect dstRect,
255 BRect srcRect, BRect dstRect,
620 BRect srcRect, BRect dstRect,
/haiku-fatelf/src/apps/deskbar/
H A DBarMenuTitle.cpp122 BRect dstRect(fIcon->Bounds());
123 dstRect.OffsetTo(frame.LeftTop());
124 dstRect.OffsetBy(rintf(((frame.Width() - dstRect.Width()) / 2)
125 - 1.0f), rintf(((frame.Height() - dstRect.Height()) / 2)
128 menu->DrawBitmapAsync(fIcon, dstRect);
186 BRect dstRect(fIcon->Bounds());
187 dstRect.OffsetTo(frame.LeftTop());
188 dstRect.OffsetBy(rintf(((frame.Width() - dstRect
[all...]
H A DTeamMenuItem.cpp367 BRect dstRect(iconBounds);
377 dstRect.OffsetTo(BPoint(offsetx, offsety));
378 menu->DrawBitmapAsync(fIcon, dstRect);
387 dstRect.OffsetTo(BPoint(offsetx, offsety));
388 menu->DrawBitmapAsync(fIcon, 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()
211 + dstRect.left;
212 point->y = (point->y - srcRect.top) * dstRect.Height() / srcRect.Height()
213 + dstRect.top;
219 const BRect& dstRect)
224 _MapPoint(&leftTop, srcRect, dstRect);
218 _MapRectangle(BRect* rect, const BRect& srcRect, const BRect& dstRect) argument
[all...]
H A DPictureDataWriter.cpp401 const BRect &dstRect, const int32 &width, const int32 &height,
410 Write<BRect>(dstRect);
400 WriteDrawBitmap(const BRect &srcRect, const BRect &dstRect, const int32 &width, const int32 &height, const int32 &bytesPerRow, const int32 &colorSpace, const int32 &flags, const void *data, const int32 &length) argument
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
5638 fOwner->fLink->Attach<BRect>(dstRect);
/haiku-fatelf/src/apps/showimage/
H A DShowImageView.cpp718 BRect dstRect; local
719 _GetSelectionMergeRects(srcRect, dstRect);
720 dstRect = ImageToView(dstRect);
721 DrawBitmap(fSelectionBitmap, srcRect, dstRect);
1028 BRect& dstRect)
1030 // Constrain dstRect to target image size and apply the same edge offsets
1033 dstRect = selection;
1035 BRect clippedDstRect(dstRect);
1040 srcRect.left += clippedDstRect.left - dstRect
1027 _GetMergeRects(BBitmap* merge, BRect selection, BRect& srcRect, BRect& dstRect) argument
1050 _GetSelectionMergeRects(BRect& srcRect, BRect& dstRect) argument
1071 BRect dstRect; local
[all...]
H A DShowImageView.h126 BRect& dstRect);
128 BRect& dstRect);
/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/magnify/
H A DMagnify.cpp2040 BRect dstRect(0, 0, 0, 0);
2042 fPixelView->DrawBitmap(fBitmap, srcRect, dstRect);
/haiku-fatelf/src/kits/tracker/
H A DPoseView.cpp1683 BRect dstRect = srcRect; local
1685 dstRect.top += listViewScrollBy;
1686 CopyBits(srcRect, dstRect);
1688 srcRect.bottom = dstRect.top;
8886 BRect dstRect = srcRect; local
8887 dstRect.OffsetTo(loc);
8890 pose->Draw(dstRect, updateRect, this, offscreenView, true,
8895 DrawBitmap(sOffscreen->Bitmap(), srcRect, dstRect);
/haiku-fatelf/src/servers/app/
H A DServerWindow.cpp1796 BRect srcRect, dstRect; local
1800 link.Read<BRect>(&dstRect);
1812 fCurrentView->SetViewBitmap(bitmap, srcRect, dstRect,

Completed in 261 milliseconds