Lines Matching defs:bitmap
41 BitmapView::BitmapView(BRect frame, const char *name, BMessage *mod, BBitmap *bitmap,
47 if (bitmap && bitmap->IsValid())
48 fBitmap = bitmap;
115 BitmapView::SetBitmap(BBitmap *bitmap)
117 if (bitmap && bitmap->IsValid()) {
118 if (fBitmap == bitmap)
120 fBitmap = bitmap;
486 returnval = (clip->FindMessage("image/bitmap", &flattened) == B_OK);
497 returnval = (clip->FindMessage("image/x-vnd.Be-bitmap", &flattened) == B_OK);
515 BBitmap *bitmap;
527 status_t status = clip->FindMessage("image/bitmap", &flattened);
538 status = clip->FindMessage("image/x-vnd.Be-bitmap", &flattened);
554 // a bitmap like everyone else.
577 bitmap = new BBitmap(frame, cspace, true);
581 delete bitmap;
585 memcpy(bitmap->Bits(), buffer, bufferLength);
586 return bitmap;
607 bitmap = new BBitmap(frame, cspace, true);
611 delete bitmap;
615 memcpy(bitmap->Bits(), buffer, bufferLength);
616 return bitmap;
632 // 2) If smaller along both axes, make bitmap rect centered and return