Searched refs:bitmap (Results 176 - 200 of 295) sorted by relevance

1234567891011>>

/haiku/src/add-ons/screen_savers/ifs/
H A DIFS.cpp246 delete Fractal->bitmap;
247 Fractal->bitmap = new BBitmap(BRect(0.0, 0.0,
254 if (Fractal->bitmap != NULL && Fractal->bitmap->IsValid())
255 memset(Fractal->bitmap->Bits(), 0, Fractal->bitmap->BitsLength());
257 delete Fractal->bitmap;
258 Fractal->bitmap = NULL;
422 if (F->bitmap != NULL && F->markBitmap != NULL) {
423 uint8* bits = (uint8*)F->bitmap
[all...]
H A DIFS.h82 BBitmap* bitmap; member in struct:Fractal
/haiku/src/add-ons/print/drivers/pcl6/
H A DPCL6Rasterizer.cpp389 initializeBitmap(BBitmap* bitmap, int width, int height) argument
391 int bpr = bitmap->BytesPerRow();
392 uchar* row = (uchar*)bitmap->Bits();
445 BBitmap bitmap(BRect(0, 0, width - 1, height - 1), B_RGB32);
447 initializeBitmap(&bitmap, width, height);
449 rasterizer.SetBitmap(0, 0, &bitmap, height);
/haiku/src/tests/kits/interface/flatten_picture/
H A DPictureTestCases.cpp621 static void fillBitmap(BBitmap &bitmap) { argument
622 int32 height = bitmap.Bounds().IntegerHeight()+1;
623 int32 width = bitmap.Bounds().IntegerWidth()+1;
626 char *pixel = (char*)bitmap.Bits();
627 pixel += bitmap.BytesPerRow() * y + 4 * x;
646 BBitmap bitmap(frame, B_RGBA32);
647 fillBitmap(bitmap);
648 view->DrawBitmap(&bitmap, BPoint(0, 0));
659 BBitmap bitmap(bounds, B_RGBA32);
660 fillBitmap(bitmap);
[all...]
/haiku/src/servers/app/drawing/interface/remote/
H A DRemoteDrawingEngine.cpp317 RemoteDrawingEngine::DrawBitmap(ServerBitmap* bitmap, const BRect& _bitmapRect, argument
325 // constrain rect to passed bitmap bounds
327 BRect actualBitmapRect = bitmap->Bounds();
360 if (_ExtractBitmapRegions(*bitmap, options, bitmapRect, viewRect,
369 message.Add(bitmap->ColorSpace());
370 message.Add(bitmap->Flags());
390 message.AddBitmap(*bitmap);
949 RemoteDrawingEngine::ReadBitmap(ServerBitmap* bitmap, bool drawCursor, argument
977 result = bitmap->ImportBits(read->Bits(), read->BitsLength(),
1040 TRACE_ERROR("failed to read bitmap o
1073 _ExtractBitmapRegions(ServerBitmap& bitmap, uint32 options, const BRect& bitmapRect, const BRect& viewRect, double xScale, double yScale, BRegion& region, UtilityBitmap**& bitmaps) argument
[all...]
H A DRemoteDrawingEngine.h37 virtual status_t ReadBitmap(ServerBitmap* bitmap,
66 virtual void DrawBitmap(ServerBitmap* bitmap,
161 status_t _ExtractBitmapRegions(ServerBitmap& bitmap,
/haiku/src/apps/mediaplayer/supplier/
H A DImageTrackVideoSupplier.cpp13 ImageTrackVideoSupplier::ImageTrackVideoSupplier(BBitmap* bitmap, argument
20 fBitmap(bitmap),
H A DMediaFileTrackSupplier.cpp237 MediaFileTrackSupplier::AddBitmap(BBitmap* bitmap) argument
239 fBitmaps.push_back(bitmap);
/haiku/src/apps/mediaplayer/support/
H A DStackBlurFilter.cpp112 StackBlurFilter::Filter(BBitmap* bitmap, double radius) argument
117 int32 width = bitmap->Bounds().IntegerWidth() + 1;
118 int32 height = bitmap->Bounds().IntegerHeight() + 1;
119 uint32 bpr = bitmap->BytesPerRow();
120 uint8* bits = (uint8*)bitmap->Bits();
124 if (bitmap->ColorSpace() == B_RGBA32
125 || bitmap->ColorSpace() == B_RGB32) {
129 } else if (bitmap->ColorSpace() == B_GRAY8) {
/haiku/src/add-ons/print/drivers/gutenprint/
H A DGPBinding.cpp199 GPBinding::AddBitmapToPage(BBitmap* bitmap, BRect validRect, BPoint where) argument
201 GPBand* band = new(nothrow) GPBand(bitmap, validRect, where);
/haiku/src/servers/app/drawing/Painter/bitmap_painter/
H A DDrawBitmapGeneric.h36 agg::rendering_buffer& bitmap, BPoint offset,
39 // pixel format attached to bitmap
41 pixfmt_image pixf_img(bitmap);
65 // image accessor attached to pixel format of bitmap
79 // path enclosing the bitmap
101 // render the path with the bitmap as scanline fill
117 // render the path with the bitmap as scanline fill
35 Draw(const Painter* painter, PainterAggInterface& aggInterface, agg::rendering_buffer& bitmap, BPoint offset, double scaleX, double scaleY, BRect destinationRect, uint32 options) argument
/haiku/src/apps/charactermap/
H A DCharacterView.cpp455 BBitmap* bitmap = new BBitmap(frame, B_BITMAP_ACCEPTS_VIEWS, B_RGBA32); local
456 if (bitmap->InitCheck() != B_OK) {
457 delete bitmap;
460 bitmap->Lock();
463 bitmap->AddChild(view);
480 bitmap->RemoveChild(view);
481 bitmap->Unlock();
490 DragMessage(&drag, bitmap, B_OP_ALPHA, offset);
/haiku/src/servers/app/
H A DServerApp.h113 bool _AddBitmap(ServerBitmap* bitmap);
114 void _DeleteBitmap(ServerBitmap* bitmap);
/haiku/src/apps/resedit/
H A DResFields.cpp32 BitmapPreviewField::BitmapPreviewField(BBitmap *bitmap) argument
34 fBitmap = bitmap;
/haiku/src/tests/servers/app/painter/
H A DPainter.cpp831 Painter::DrawBitmap(const BBitmap* bitmap, argument
834 if (bitmap && bitmap->IsValid()) {
835 // the native bitmap coordinate system
837 BRect actualBitmapRect(bitmap->Bounds());
840 srcBuffer.attach((uint8*)bitmap->Bits(),
843 bitmap->BytesPerRow());
845 _DrawBitmap(srcBuffer, bitmap->ColorSpace(), actualBitmapRect, bitmapRect, viewRect);
851 Painter::DrawBitmap(const ServerBitmap* bitmap, argument
854 if (bitmap
[all...]
/haiku/src/apps/icon-o-matic/generic/gui/panel/color_picker/
H A DColorField.h75 void _FillBitmap(BBitmap* bitmap,
H A DColorSlider.h72 void _FillBitmap(BBitmap* bitmap,
H A DColorField.cpp441 ColorField::_FillBitmap(BBitmap* bitmap, SelectedColorMode mode, argument
444 int32 width = bitmap->Bounds().IntegerWidth();
445 int32 height = bitmap->Bounds().IntegerHeight();
446 uint32 bpr = bitmap->BytesPerRow();
449 uint8* bits = (uint8*)bitmap->Bits();
/haiku/src/add-ons/decorators/FlatDecorator/
H A DFlatDecorator.h60 void _DrawButtonBitmap(ServerBitmap* bitmap,
/haiku/src/libs/icon/
H A DIconRenderer.h53 IconRenderer(BBitmap* bitmap);
71 // be the same as bitmap passed
74 // used when no background bitmap
/haiku/src/apps/icon-o-matic/generic/gui/
H A DSwatchView.cpp258 BBitmap* bitmap = new(std::nothrow) BBitmap(BRect(0.0, 0.0, 15.0, 15.0), local
261 BMessage message = make_color_drop_message(fColor, bitmap);
263 DragMessage(&message, bitmap, B_OP_ALPHA, BPoint(9.0, 9.0));
/haiku/src/libs/print/libprint/
H A DHalftoneView.cpp92 const uchar* bitmap = buffer; local
95 const bool isSet = (*bitmap & (1 << bit)) != 0;
112 bitmap ++;
/haiku/src/bin/bfs_tools/
H A Dbfswhich.cpp213 Bitmap bitmap; local
214 status_t status = bitmap.SetTo(&disk);
220 printf("Block bitmap sees block %lld as %s.\n", disk.ToBlock(run),
221 bitmap.UsedAt(disk.ToBlock(run)) ? "used" : "free");
313 printf("Block bitmap intersects (start %d, end %lu)\n", 1,
/haiku/src/tests/servers/app/transformation/
H A Dmain.cpp63 // Try to read as an archived bitmap.
69 BBitmap* bitmap = new BBitmap(&archive);
71 status = bitmap->InitCheck();
73 delete bitmap;
74 bitmap = NULL;
77 return bitmap;
145 view->DrawString("Failed to load the bitmap.", BPoint(20, 20));
379 view->DrawString("Failed to load the bitmap.", BPoint(20, 20));
389 // bitmap should be drawn at the view origin. It will then exactly
/haiku/src/servers/app/drawing/interface/virtual/
H A DViewHWInterface.cpp138 void SetBitmap(const BBitmap* bitmap);
156 void SetBitmap(const BBitmap* bitmap);
257 CardView::SetBitmap(const BBitmap* bitmap) argument
259 if (bitmap != fBitmap) {
260 fBitmap = bitmap;
387 CardWindow::SetBitmap(const BBitmap* bitmap) argument
389 fView->SetBitmap(bitmap);
521 // so that the view does not accidentally draw a freed bitmap
570 // change the window size and update the bitmap used for drawing

Completed in 277 milliseconds

1234567891011>>