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

123456

/haiku/src/apps/processcontroller/
H A DAutoIcon.cpp33 delete fBitmap;
40 if (fBitmap == NULL) {
41 fBitmap = new BBitmap(BRect(0, 0, 15, 15), B_RGBA32);
46 if (BNodeInfo::GetTrackerIcon(&ref, fBitmap, B_MINI_ICON) != B_OK) {
48 genericAppType.GetIcon(fBitmap, B_MINI_ICON);
53 fBitmap->SetBits(fbits, 256, 0, B_CMAP8);
55 return fBitmap;
H A DAutoIcon.h34 fBitmap(0)
42 fBitmap(0)
58 BBitmap* fBitmap; member in class:AutoIcon
/haiku/src/servers/app/drawing/
H A DBBitmapBuffer.cpp9 : fBitmap(bitmap)
16 delete fBitmap;
24 if (fBitmap)
25 ret = fBitmap->InitCheck();
34 return fBitmap->ColorSpace();
43 return fBitmap->Bits();
52 return fBitmap->BytesPerRow();
61 return fBitmap->Bounds().IntegerWidth() + 1;
70 return fBitmap->Bounds().IntegerHeight() + 1;
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 DBitmapDrawingEngine.cpp11 fBitmap(NULL)
44 if (fBitmap != NULL && newWidth > 0 && newHeight > 0
45 && fBitmap->Bounds().IntegerWidth() >= newWidth
46 && fBitmap->Bounds().IntegerHeight() >= newHeight) {
59 if (fBitmap != NULL) {
60 fBitmap->ReleaseReference();
61 fBitmap = NULL;
67 fBitmap = new(std::nothrow) UtilityBitmap(BRect(0, 0, newWidth - 1,
69 if (fBitmap == NULL)
72 fHWInterface = new(std::nothrow) BitmapHWInterface(fBitmap);
[all...]
H A DBBitmapBuffer.h25 { return fBitmap; }
28 BBitmap* fBitmap; member in class:BBitmapBuffer
H A DBitmapBuffer.h25 { return fBitmap; }
28 ServerBitmap* fBitmap; member in class:BitmapBuffer
/haiku/src/apps/mediaplayer/media_node_framework/video/
H A DVideoTarget.cpp10 fBitmap(NULL)
38 fBitmap = bitmap;
46 return fBitmap;
H A DVideoTarget.h37 const BBitmap* volatile fBitmap; member in class:VideoTarget
/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/servers/app/
H A DOffscreenServerWindow.cpp20 fBitmap(bitmap)
27 fBitmap->ReleaseReference();
46 return new OffscreenWindow(fBitmap, name, this);
H A DOffscreenWindow.h28 ServerBitmap* fBitmap; member in class:OffscreenWindow
/haiku/src/apps/haikudepot/ui_generic/
H A DSharedBitmap.cpp31 fBitmap[0] = bitmap;
32 fBitmap[1] = NULL;
33 fBitmap[2] = NULL;
34 fBitmap[3] = NULL;
46 fBitmap[0] = NULL;
47 fBitmap[1] = NULL;
48 fBitmap[2] = NULL;
49 fBitmap[3] = NULL;
61 fBitmap[0] = NULL;
62 fBitmap[
[all...]
/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);
62 out << fBitmap
[all...]
/haiku/src/apps/overlayimage/
H A DOverlayView.cpp33 fBitmap = NULL;
66 fBitmap = new BBitmap(archive);
72 delete fBitmap;
82 if (fBitmap)
83 DrawBitmap(fBitmap, B_ORIGIN);
101 delete fBitmap;
102 fBitmap = BTranslationUtils::GetBitmap(path.Path());
104 if (fBitmap != NULL) {
110 BRect rect = fBitmap->Bounds();
154 if (fBitmap) {
[all...]
/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/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/servers/app/drawing/Painter/bitmap_painter/
H A DBitmapPainter.cpp50 fBitmap.attach(bitmap->Bits(), bitmap->Width(), bitmap->Height(),
86 drawNoScale.Draw(fPainter->fInternal, fBitmap, 1, fOffset,
92 drawNoScale.Draw(fPainter->fInternal, fBitmap, 1, fOffset,
99 drawNoScale.Draw(fPainter->fInternal, fBitmap, 4, fOffset,
113 drawNoScale.Draw(fPainter->fInternal, fBitmap, 4, fOffset,
122 drawNoScale.Draw(fPainter->fInternal, fBitmap, 4, fOffset,
131 drawNoScale.Draw(fPainter->fInternal, fBitmap, 4, fOffset,
143 fBitmap, fOffset, fScaleX, fScaleY, fDestinationRect);
146 fBitmap, fOffset, fScaleX, fScaleY, fDestinationRect);
158 fBitmap, fOffse
[all...]
/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
/haiku/src/add-ons/print/drivers/gutenprint/
H A DGPBand.h23 BBitmap fBitmap; member in class:GPBand

Completed in 280 milliseconds

123456