Searched refs:bitmap (Results 151 - 175 of 274) sorted by relevance

1234567891011

/haiku-fatelf/src/servers/app/drawing/
H A DViewHWInterface.cpp126 void SetBitmap(const BBitmap* bitmap);
144 void SetBitmap(const BBitmap* bitmap);
246 CardView::SetBitmap(const BBitmap* bitmap) argument
248 if (bitmap != fBitmap) {
249 fBitmap = bitmap;
375 CardWindow::SetBitmap(const BBitmap* bitmap) argument
377 fView->SetBitmap(bitmap);
511 // so that the view does not accidentally draw a freed bitmap
563 // change the window size and update the bitmap used for drawing
H A DHWInterface.cpp71 // The standard cursor doesn't belong us - the drag bitmap might
289 HWInterface::SetDragBitmap(const ServerBitmap* bitmap, argument
293 _AdoptDragBitmap(bitmap, offsetFromCursor);
585 // make a bitmap from the backbuffer
597 // offset into cursor bitmap
629 // assuming pre-multiplied cursor bitmap
654 // assuming pre-multiplied cursor bitmap
916 HWInterface::_AdoptDragBitmap(const ServerBitmap* bitmap, const BPoint& offset) argument
918 // TODO: support other colorspaces/convert bitmap
919 if (bitmap
[all...]
/haiku-fatelf/src/add-ons/opengl/swrast/
H A DMesaSoftwareRenderer.cpp293 MesaSoftwareRenderer::CopyPixelsOut(BPoint location, BBitmap* bitmap) argument
297 color_space dcs = bitmap->ColorSpace();
307 BRect dr = bitmap->Bounds();
313 uint8* pd = (uint8*)bitmap->Bits();
322 * bitmap->BytesPerRow());
332 MesaSoftwareRenderer::CopyPixelsIn(BBitmap* bitmap, BPoint location) argument
335 color_space scs = bitmap->ColorSpace();
345 BRect sr = bitmap->Bounds();
351 uint8* ps = (uint8*)bitmap->Bits();
357 s = (uint32*)(ps + y * bitmap
[all...]
/haiku-fatelf/src/add-ons/print/drivers/postscript/
H A DPS.cpp206 PSDriver::NextBand(BBitmap* bitmap, BPoint* offset) argument
211 BRect bounds = bitmap->Bounds();
236 if (get_valid_rect(bitmap, &rc)) {
251 int delta = bitmap->BytesPerRow();
261 uchar* ptr = static_cast<uchar*>(bitmap->Bits())
326 DBGMSG(("band bitmap is clean.\n"));
/haiku-fatelf/src/kits/interface/
H A DPrivateScreen.cpp368 BBitmap* bitmap = new (std::nothrow) BBitmap(rect, ColorSpace()); local
369 if (bitmap == NULL)
372 status_t status = bitmap->InitCheck();
374 status = ReadBitmap(bitmap, drawCursor, &rect);
376 delete bitmap;
380 *_bitmap = bitmap;
386 BPrivateScreen::ReadBitmap(BBitmap* bitmap, bool drawCursor, BRect* bounds) argument
388 if (bitmap == NULL)
399 link.Attach<int32>(bitmap->_ServerToken());
/haiku-fatelf/src/add-ons/opengl/swrast_legacy/
H A DMesaSoftwareRenderer.cpp62 // BeOS component ordering for B_RGBA32 bitmap format
69 // Big Endian B_RGBA32 bitmap format
426 MesaSoftwareRenderer::CopyPixelsOut(BPoint location, BBitmap* bitmap) argument
430 color_space dcs = bitmap->ColorSpace();
440 BRect dr = bitmap->Bounds();
446 uint8* pd = (uint8*) bitmap->Bits();
455 * bitmap->BytesPerRow());
465 MesaSoftwareRenderer::CopyPixelsIn(BBitmap* bitmap, BPoint location) argument
468 color_space scs = bitmap->ColorSpace();
478 BRect sr = bitmap
665 BBitmap* bitmap = mr->fBitmap; local
[all...]
/haiku-fatelf/src/add-ons/screen_savers/ifs/
H A DIFS.cpp230 delete Fractal->bitmap;
231 Fractal->bitmap = new (nothrow) BBitmap(BRect(0.0, 0.0,
243 if (Fractal->bitmap != NULL && Fractal->bitmap->IsValid()) {
244 memset(Fractal->bitmap->Bits(), 0, Fractal->bitmap->BitsLength());
246 delete Fractal->bitmap;
247 Fractal->bitmap = NULL;
403 if (F->bitmap != NULL && F->markBitmap != NULL) {
404 uint8* bits = (uint8*)F->bitmap
[all...]
H A DIFS.h58 BBitmap* bitmap; member in struct:Fractal_Struct
/haiku-fatelf/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-fatelf/src/apps/mail/
H A DEnclosures.cpp536 BBitmap bitmap(iconRect, B_RGBA32);
537 if (GetTrackerIcon(type, &bitmap, B_MINI_ICON) == B_NO_ERROR) {
540 owner->DrawBitmap(&bitmap, iconRect, rect);
559 BBitmap bitmap(sr, B_RGBA32);
560 if (info.GetTrackerIcon(&bitmap, B_MINI_ICON) == B_NO_ERROR) {
563 owner->DrawBitmap(&bitmap, sr, dr);
/haiku-fatelf/src/apps/mediaplayer/playlist/
H A DFilePlaylistItem.cpp219 FilePlaylistItem::GetIcon(BBitmap* bitmap, icon_size iconSize) const argument
223 return info.GetTrackerIcon(bitmap, iconSize);
296 BBitmap* bitmap = BTranslationUtils::GetBitmap(&fImageRefs[i]); local
297 if (bitmap == NULL)
299 if (supplier->AddBitmap(bitmap) != B_OK)
300 delete bitmap;
H A DFilePlaylistItem.h49 virtual status_t GetIcon(BBitmap* bitmap,
/haiku-fatelf/src/apps/remotedesktop/
H A DRemoteView.cpp516 BBitmap *bitmap; local
519 if (message.ReadBitmap(&bitmap) != B_OK)
523 fCursorBitmap = bitmap;
760 BBitmap *bitmap; local
767 if (message.ReadBitmap(&bitmap) != B_OK || bitmap == NULL)
770 offscreen->DrawBitmap(bitmap, bitmapRect, viewRect, options);
772 delete bitmap;
787 BBitmap *bitmap; local
791 if (message.ReadBitmap(&bitmap, tru
[all...]
/haiku-fatelf/src/servers/app/drawing/html5/
H A DHTML5DrawingEngine.cpp295 HTML5DrawingEngine::DrawBitmap(ServerBitmap* bitmap, const BRect& _bitmapRect, argument
303 // constrain rect to passed bitmap bounds
305 BRect actualBitmapRect = bitmap->Bounds();
338 if (_ExtractBitmapRegions(*bitmap, options, bitmapRect, viewRect,
347 message.Add(bitmap->ColorSpace());
348 message.Add(bitmap->Flags());
368 message.AddBitmap(*bitmap);
901 HTML5DrawingEngine::ReadBitmap(ServerBitmap* bitmap, bool drawCursor, argument
929 result = bitmap->ImportBits(read->Bits(), read->BitsLength(),
1004 HTML5DrawingEngine::_ExtractBitmapRegions(ServerBitmap& bitmap, uint3 argument
[all...]
/haiku-fatelf/src/servers/app/drawing/remote/
H A DRemoteDrawingEngine.cpp294 RemoteDrawingEngine::DrawBitmap(ServerBitmap* bitmap, const BRect& _bitmapRect, argument
302 // constrain rect to passed bitmap bounds
304 BRect actualBitmapRect = bitmap->Bounds();
337 if (_ExtractBitmapRegions(*bitmap, options, bitmapRect, viewRect,
346 message.Add(bitmap->ColorSpace());
347 message.Add(bitmap->Flags());
367 message.AddBitmap(*bitmap);
900 RemoteDrawingEngine::ReadBitmap(ServerBitmap* bitmap, bool drawCursor, argument
928 result = bitmap->ImportBits(read->Bits(), read->BitsLength(),
1003 RemoteDrawingEngine::_ExtractBitmapRegions(ServerBitmap& bitmap, uint3 argument
[all...]
/haiku-fatelf/headers/os/interface/
H A DBitmap.h29 // the graphics driver to reserve memory for a bitmap and for this
93 status_t ImportBits(const BBitmap* bitmap);
94 status_t ImportBits(const BBitmap* bitmap, BPoint from,
/haiku-fatelf/headers/private/interface/
H A DColumnTypes.h213 BBitmapField (BBitmap* bitmap);
215 void SetBitmap (BBitmap* bitmap);
/haiku-fatelf/src/add-ons/print/drivers/gutenprint/
H A DGPBinding.cpp200 GPBinding::AddBitmapToPage(BBitmap* bitmap, BRect validRect, BPoint where) argument
202 GPBand* band = new(nothrow) GPBand(bitmap, validRect, where);
/haiku-fatelf/src/apps/charactermap/
H A DCharacterView.cpp333 BBitmap* bitmap = new BBitmap(frame, B_BITMAP_ACCEPTS_VIEWS, B_RGBA32); local
334 if (bitmap->InitCheck() != B_OK) {
335 delete bitmap;
338 bitmap->Lock();
341 bitmap->AddChild(view);
358 bitmap->RemoveChild(view);
359 bitmap->Unlock();
368 DragMessage(&drag, bitmap, B_OP_ALPHA, offset);
/haiku-fatelf/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-fatelf/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-fatelf/src/apps/resedit/
H A DResFields.cpp32 BitmapPreviewField::BitmapPreviewField(BBitmap *bitmap) argument
34 fBitmap = bitmap;
/haiku-fatelf/src/libs/pdflib/libs/pdflib/
H A Dp_bmp.c56 pdc_ulong bfOffBits; /* Offset to bitmap data */
90 #define PDF_BMP_BITFIELDS 3 /* RGB bitmap with RGB masks */
268 /* End of scan line or end of bitmap data*/
332 if (image->info.bmp.bitmap != NULL)
333 pdc_free(p->pdc, (void *) image->info.bmp.bitmap);
532 image->info.bmp.bitmap = NULL;
534 /* read whole bitmap */
537 image->info.bmp.bitmap =
539 if (!PDC_OK_FREAD(fp, image->info.bmp.bitmap, bitmapsize))
541 pdc_free(p->pdc, (void *) image->info.bmp.bitmap);
[all...]
/haiku-fatelf/src/servers/app/
H A DServerApp.h110 bool _AddBitmap(ServerBitmap* bitmap);
111 void _DeleteBitmap(ServerBitmap* bitmap);

Completed in 230 milliseconds

1234567891011