Lines Matching defs:bitmap

1452 	// the chance *NOT* to need to drag a whole bitmap around but just a frame.
1454 // create a drag bitmap for the rect
1455 BBitmap* bitmap = new(std::nothrow) BBitmap(dragRect, B_RGBA32);
1456 if (bitmap == NULL)
1459 uint32* bits = (uint32*)bitmap->Bits();
1460 uint32 bytesPerRow = bitmap->BytesPerRow();
1483 DragMessage(message, bitmap, B_OP_BLEND, offset, replyTo);
1503 // TODO: workaround for drags without a bitmap - should not be necessary if
1548 // before we can delete the bitmap
3081 BView::DrawBitmapAsync(const BBitmap* bitmap, BRect bitmapRect, BRect viewRect,
3084 if (bitmap == NULL || fOwner == NULL
3091 info.bitmapToken = bitmap->_ServerToken();
3104 BView::DrawBitmapAsync(const BBitmap* bitmap, BRect bitmapRect, BRect viewRect)
3106 DrawBitmapAsync(bitmap, bitmapRect, viewRect, 0);
3111 BView::DrawBitmapAsync(const BBitmap* bitmap, BRect viewRect)
3113 if (bitmap && fOwner) {
3114 DrawBitmapAsync(bitmap, bitmap->Bounds().OffsetToCopy(B_ORIGIN),
3121 BView::DrawBitmapAsync(const BBitmap* bitmap, BPoint where)
3123 if (bitmap == NULL || fOwner == NULL)
3129 info.bitmapToken = bitmap->_ServerToken();
3131 info.bitmapRect = bitmap->Bounds().OffsetToCopy(B_ORIGIN);
3142 BView::DrawBitmapAsync(const BBitmap* bitmap)
3144 DrawBitmapAsync(bitmap, PenLocation());
3149 BView::DrawBitmap(const BBitmap* bitmap, BRect bitmapRect, BRect viewRect,
3153 DrawBitmapAsync(bitmap, bitmapRect, viewRect, options);
3160 BView::DrawBitmap(const BBitmap* bitmap, BRect bitmapRect, BRect viewRect)
3163 DrawBitmapAsync(bitmap, bitmapRect, viewRect, 0);
3170 BView::DrawBitmap(const BBitmap* bitmap, BRect viewRect)
3172 if (bitmap && fOwner) {
3173 DrawBitmap(bitmap, bitmap->Bounds().OffsetToCopy(B_ORIGIN), viewRect,
3180 BView::DrawBitmap(const BBitmap* bitmap, BPoint where)
3183 DrawBitmapAsync(bitmap, where);
3190 BView::DrawBitmap(const BBitmap* bitmap)
3192 DrawBitmap(bitmap, PenLocation());
3197 BView::DrawTiledBitmapAsync(const BBitmap* bitmap, BRect viewRect,
3200 if (bitmap == NULL || fOwner == NULL || !viewRect.IsValid())
3206 info.bitmapToken = bitmap->_ServerToken();
3209 info.bitmapRect = bitmap->Bounds().OffsetToCopy(phase);
3219 BView::DrawTiledBitmap(const BBitmap* bitmap, BRect viewRect, BPoint phase)
3222 DrawTiledBitmapAsync(bitmap, viewRect, phase);
4292 BView::SetViewBitmap(const BBitmap* bitmap, BRect srcRect, BRect dstRect,
4295 _SetViewBitmap(bitmap, srcRect, dstRect, followFlags, options);
4300 BView::SetViewBitmap(const BBitmap* bitmap, uint32 followFlags, uint32 options)
4303 if (bitmap)
4304 rect = bitmap->Bounds();
4308 _SetViewBitmap(bitmap, rect, rect, followFlags, options);
6529 BView::_SetViewBitmap(const BBitmap* bitmap, BRect srcRect, BRect dstRect,
6535 int32 serverToken = bitmap ? bitmap->_ServerToken() : -1;