Searched refs:fBitmap (Results 1 - 25 of 134) sorted by relevance

123456

/haiku/src/apps/processcontroller/
H A DAutoIcon.cpp19 delete fBitmap;
26 if (fBitmap != NULL)
27 return fBitmap;
30 fBitmap = new BBitmap(BRect(BPoint(0, 0),
35 if (BNodeInfo::GetTrackerIcon(&ref, fBitmap, (icon_size)-1) != B_OK) {
37 genericAppType.GetIcon(fBitmap, (icon_size)(fBitmap->Bounds().IntegerWidth() + 1));
40 fBitmap = new BBitmap(BRect(BPoint(0, 0),
43 fBitmap->SetBits(fbits, 256, 0, B_CMAP8);
45 return fBitmap;
[all...]
H A DAutoIcon.h20 fBitmap(0)
28 fBitmap(0)
44 BBitmap* fBitmap; member in class:AutoIcon
/haiku/src/servers/app/drawing/
H A DBitmapBuffer.cpp13 : fBitmap(bitmap)
28 if (fBitmap)
29 ret = fBitmap->IsValid() ? B_OK : B_ERROR;
38 return fBitmap->ColorSpace();
47 return fBitmap->Bits();
56 return fBitmap->BytesPerRow();
65 return fBitmap->Width();
74 return fBitmap->Height();
H A DBBitmapBuffer.cpp9 : fBitmap(bitmap)
23 if (fBitmap.IsSet())
24 ret = fBitmap->InitCheck();
33 return fBitmap->ColorSpace();
42 return fBitmap->Bits();
51 return fBitmap->BytesPerRow();
60 return fBitmap->Bounds().IntegerWidth() + 1;
69 return fBitmap->Bounds().IntegerHeight() + 1;
H A DBitmapDrawingEngine.cpp11 fBitmap(NULL)
44 if (fBitmap != NULL && newWidth > 0 && newHeight > 0
45 && fBitmap->Bounds().IntegerWidth() >= newWidth
46 && fBitmap->Bounds().IntegerHeight() >= newHeight) {
61 fBitmap.SetTo(new(std::nothrow) UtilityBitmap(BRect(0, 0, newWidth - 1,
63 if (!fBitmap.IsSet())
66 fHWInterface.SetTo(new(std::nothrow) BitmapHWInterface(fBitmap));
75 fClipping.Set(fBitmap->Bounds());
94 if (result->ImportBits(fBitmap->Bits(), fBitmap
[all...]
H A DBitmapBuffer.h26 { return fBitmap; }
29 ServerBitmap* fBitmap; member in class:BitmapBuffer
H A DBBitmapBuffer.h28 { return fBitmap.Get(); }
32 fBitmap; member in class:BBitmapBuffer
/haiku/src/apps/mediaplayer/media_node_framework/video/
H A DVideoTarget.cpp10 fBitmap(NULL)
38 fBitmap = bitmap;
46 return fBitmap;
/haiku/src/kits/translation/
H A DBitmapStream.cpp26 fBitmap = bitmap;
32 fBitmap = NULL;
37 if (fBitmap != NULL && fBitmap->InitCheck() == B_OK) {
39 fHeader.bounds = fBitmap->Bounds();
40 fHeader.rowBytes = fBitmap->BytesPerRow();
41 fHeader.colors = fBitmap->ColorSpace();
51 fBitmap = NULL;
58 delete fBitmap;
68 if (fBitmap
[all...]
/haiku/src/tests/servers/app/painter/
H A DBitmapView.cpp13 fBitmap(bitmap)
22 delete fBitmap;
29 if (fBitmap) {
30 if (fBitmap->ColorSpace() == B_RGBA32) {
37 DrawBitmap(fBitmap, Bounds().LeftTop());
/haiku/src/kits/bluetooth/UI/
H A DBluetoothIconView.cpp15 BBitmap* BluetoothIconView::fBitmap = NULL; member in class:Bluetooth::BluetoothIconView
23 fBitmap = new BBitmap(BRect(0, 0, 64, 64), 0, B_RGBA32);
31 BIconUtils::GetVectorIcon(tempIcon, tempSize, fBitmap);
49 delete fBitmap;
56 this->DrawBitmap(fBitmap);
/haiku/src/apps/haikudepot/ui_generic/
H A DSharedBitmap.cpp33 fBitmap[0] = bitmap;
34 fBitmap[1] = NULL;
35 fBitmap[2] = NULL;
36 fBitmap[3] = NULL;
48 fBitmap[0] = NULL;
49 fBitmap[1] = NULL;
50 fBitmap[2] = NULL;
51 fBitmap[3] = NULL;
63 fBitmap[0] = NULL;
64 fBitmap[
[all...]
H A DBitmapView.cpp20 fBitmap(NULL),
37 if (fBitmap == NULL)
40 BRect bitmapBounds = fBitmap->Bounds();
85 DrawBitmap(fBitmap, bitmapBounds, bounds, B_FILTER_BITMAP_BILINEAR);
94 if (fBitmap != NULL) {
95 BRect bounds = fBitmap->Bounds();
130 fBitmap = bitmap->Bitmap(bitmapSize);
146 fBitmap = NULL;
/haiku/src/tests/servers/app/tiled_bitmap_test/
H A DTiledBitmapTest.cpp28 BBitmap* fBitmap; member in class:View
35 fBitmap = new BBitmap(BRect(0, 0, 5, 5), B_RGBA32);
52 fBitmap->SetBits((void*)data, sizeof(data), 0, B_RGBA32);
58 delete fBitmap;
65 DrawTiledBitmap(fBitmap, BRect(10, 10, 60, 60), BPoint(1, 1));
66 DrawTiledBitmap(fBitmap, BRect(10, 60, 60, 110), BPoint(3, 3));
67 DrawTiledBitmap(fBitmap, BRect(10, 110, 60, 160));
68 DrawBitmap(fBitmap, fBitmap->Bounds(), BRect(60, 10, 110, 60));
/haiku/src/kits/shared/
H A DBitmapButton.cpp21 fBitmap(BTranslationUtils::GetBitmap(resourceName)),
31 fBitmap(new BBitmap(BRect(0, 0, width - 1, height - 1), 0, format)),
34 memcpy(fBitmap->Bits(), bits, fBitmap->BitsLength());
40 delete fBitmap;
48 if (fBitmap) {
49 min.width = fBitmap->Bounds().Width();
50 min.height = fBitmap->Bounds().Height();
90 if (fBitmap == NULL)
100 BRect bitmapBounds(fBitmap
[all...]
/haiku/src/tests/servers/app/bitmap_bounds/
H A Dmain.cpp19 BBitmap* fBitmap; member in class:TestView
32 fBitmap(new BBitmap(BRect(0 + LEFT_OFFSET,
41 uint8* bits = (uint8*)fBitmap->Bits();
42 uint32 width = fBitmap->Bounds().IntegerWidth() + 1;
43 uint32 height = fBitmap->Bounds().IntegerHeight() + 1;
44 uint32 bpr = fBitmap->BytesPerRow();
88 // BRect bitmap = view.OffsetByCopy(fBitmap->Bounds().LeftTop());
90 // DrawBitmap(fBitmap, bitmap, view);
95 BRect bitmap = fBitmap->Bounds();
98 DrawBitmap(fBitmap, bitma
[all...]
/haiku/src/apps/resedit/
H A DResFields.cpp34 fBitmap = bitmap;
40 delete fBitmap;
47 if (fBitmap) {
48 // Scale the fBitmap down to completely fit within the field's height
49 BRect drawrect(fBitmap->Bounds().OffsetToCopy(rect.LeftTop()));
53 (fBitmap->Bounds().Width() *
54 (rect.Height() / fBitmap->Bounds().Height()));
58 parent->DrawBitmap(fBitmap, fBitmap->Bounds(), drawrect);
63 fBitmap
[all...]
/haiku/src/apps/overlayimage/
H A DOverlayView.cpp34 fBitmap = NULL;
67 fBitmap = new BBitmap(archive);
73 delete fBitmap;
83 if (fBitmap)
84 DrawBitmap(fBitmap, B_ORIGIN);
102 delete fBitmap;
103 fBitmap = BTranslationUtils::GetBitmap(path.Path());
105 if (fBitmap != NULL) {
111 BRect rect = fBitmap->Bounds();
155 if (fBitmap) {
[all...]
/haiku/src/servers/app/drawing/Painter/bitmap_painter/
H A DBitmapPainter.cpp50 fBitmap.attach(bitmap->Bits(), bitmap->Width(), bitmap->Height(),
87 drawNoScale.Draw(fPainter->fInternal, fBitmap, 1, fOffset,
93 drawNoScale.Draw(fPainter->fInternal, fBitmap, 1, fOffset,
100 drawNoScale.Draw(fPainter->fInternal, fBitmap, 4, fOffset,
116 drawNoScale.Draw(fPainter->fInternal, fBitmap, 4, fOffset,
125 drawNoScale.Draw(fPainter->fInternal, fBitmap, 4, fOffset,
134 drawNoScale.Draw(fPainter->fInternal, fBitmap, 4, fOffset,
146 fBitmap, fOffset, fScaleX, fScaleY, fDestinationRect);
149 fBitmap, fOffset, fScaleX, fScaleY, fDestinationRect);
161 fBitmap, fOffse
[all...]
/haiku/src/add-ons/screen_savers/icons/
H A DIconDisplay.cpp36 fBitmap(NULL)
43 delete fBitmap;
50 delete fBitmap;
52 fBitmap = new BBitmap(BRect(0, 0, frame.Width(), frame.Height()), 0,
54 if (BIconUtils::GetVectorIcon(icon->data, icon->size, fBitmap) != B_OK)
134 view->DrawBitmap(fBitmap, BPoint(fFrame.left, fFrame.top));
/haiku/src/apps/icon-o-matic/gui/
H A DIconView.cpp20 fBitmap(new BBitmap(frame.OffsetToCopy(B_ORIGIN), 0, B_RGB32)),
22 fRenderer(new IconRenderer(fBitmap)),
23 fDirtyIconArea(fBitmap->Bounds()),
40 delete fBitmap;
65 DrawBitmap(fBitmap, B_ORIGIN);
117 fDirtyIconArea = fBitmap->Bounds();
/haiku/src/servers/app/
H A DOffscreenServerWindow.cpp20 fBitmap(bitmap, true)
45 return new OffscreenWindow(fBitmap, name, this);
/haiku/src/add-ons/tracker/zipomatic/
H A DZipOMaticActivity.cpp21 fBitmap(NULL),
37 delete fBitmap;
117 BRect bitmapRect = fBitmap->Bounds();
120 delete fBitmap;
126 DrawBitmap(fBitmap);
133 if (fBitmap->Lock()) {
134 BRect bounds = fBitmap->Bounds();
173 fBitmap->Unlock();
182 fBitmap = new BBitmap(rect, B_RGBA32, true);
184 fBitmap
[all...]
/haiku/src/apps/tv/
H A DVideoNode.cpp85 , fBitmap(0)
351 if (fBitmap) {
354 if (B_OK == fBitmap->LockBits()) {
356 // memcpy(fBitmap->Bits(), buffer->Data(), fBitmap->BitsLength());
358 // fBitmap->SetBits(buffer->Data(), fBitmap->BitsLength(), 0,
361 overlay_copy(fBitmap->Bounds().IntegerHeight() + 1,
362 fBitmap->Bits(), fBitmap
[all...]
/haiku/headers/private/interface/
H A DBitmapPrivate.h29 BBitmap* fBitmap; member in class:BBitmap::Private

Completed in 269 milliseconds

123456