/haiku/src/add-ons/print/drivers/canon_lips/lips4/ |
H A D | Lips4.cpp | 105 LIPS4Driver::NextBand(BBitmap* bitmap, BPoint* offset) argument 111 if (bitmap == NULL) { 119 BRect bounds = bitmap->Bounds(); 143 if (get_valid_rect(bitmap, &rc)) { 156 int delta = bitmap->BytesPerRow(); 167 uchar* ptr = static_cast<uchar*>(bitmap->Bits()) 222 DBGMSG(("band bitmap is clean.\n"));
|
/haiku/src/add-ons/translators/gif/ |
H A D | GIFTranslator.cpp | 70 "image/x-be-bitmap", 89 "image/x-be-bitmap", 229 strcpy(outInfo->MIME, "image/x-be-bitmap"); 266 BBitmap* bitmap; local 267 result = GetBitmap(inSource, &bitmap); 271 GIFSave* gifSave = new(std::nothrow) GIFSave(bitmap, outDestination, 274 delete bitmap; 280 delete bitmap; 284 delete bitmap;
|
H A D | GIFSave.cpp | 48 GIFSave::GIFSave(BBitmap* bitmap, BPositionIO* output, argument 52 color_space colorSpace = bitmap->ColorSpace(); 64 palette = new(std::nothrow) SavePalette(bitmap, 82 width = bitmap->Bounds().IntegerWidth() + 1; 83 height = bitmap->Bounds().IntegerHeight() + 1; 185 this->bitmap = bitmap; 532 int bpr = bitmap->BytesPerRow(); 533 color_space colorSpace = bitmap->ColorSpace(); 579 gifbits = (unsigned char*)bitmap [all...] |
/haiku/src/apps/deskbar/ |
H A D | ResourceSet.cpp | 807 BitmapTypeItem* bitmap = dynamic_cast<BitmapTypeItem*>(obj); local 808 if (bitmap) 809 return bitmap; 815 // Don't have a bitmap in the item -- we'll try to create one. 818 // Try to read as an archived bitmap. 822 bitmap = new BitmapTypeItem(&archive); 823 if (bitmap && bitmap->InitCheck() != B_OK) { 824 bitmap->Delete(); 825 // allows us to delete this bitmap [all...] |
/haiku/src/add-ons/decorators/FlatDecorator/ |
H A D | FlatDecorator.cpp | 701 ServerBitmap* bitmap = tab->closeBitmaps[index]; local 702 if (bitmap == NULL) { 703 bitmap = _GetBitmapForButton(tab, COMPONENT_CLOSE_BUTTON, 705 tab->closeBitmaps[index] = bitmap; 708 _DrawButtonBitmap(bitmap, direct, rect); 732 ServerBitmap* bitmap = tab->zoomBitmaps[index]; local 733 if (bitmap == NULL) { 734 bitmap = _GetBitmapForButton(tab, COMPONENT_ZOOM_BUTTON, 736 tab->zoomBitmaps[index] = bitmap; 739 _DrawButtonBitmap(bitmap, direc 754 _DrawButtonBitmap(ServerBitmap* bitmap, bool direct, BRect rect) argument 821 UtilityBitmap* bitmap; member in struct:decorator_bitmap 898 UtilityBitmap* bitmap = sBitmapDrawingEngine->ExportToBitmap(width, height, local [all...] |
/haiku/src/servers/app/decorator/ |
H A D | DefaultDecorator.cpp | 635 ServerBitmap* bitmap = tab->closeBitmaps[index]; local 636 if (bitmap == NULL) { 637 bitmap = _GetBitmapForButton(tab, COMPONENT_CLOSE_BUTTON, 639 tab->closeBitmaps[index] = bitmap; 642 _DrawButtonBitmap(bitmap, direct, rect); 666 ServerBitmap* bitmap = tab->zoomBitmaps[index]; local 667 if (bitmap == NULL) { 668 bitmap = _GetBitmapForButton(tab, COMPONENT_ZOOM_BUTTON, 670 tab->zoomBitmaps[index] = bitmap; 673 _DrawButtonBitmap(bitmap, direc 688 _DrawButtonBitmap(ServerBitmap* bitmap, bool direct, BRect rect) argument 752 UtilityBitmap* bitmap; member in struct:decorator_bitmap 820 UtilityBitmap* bitmap = sBitmapDrawingEngine->ExportToBitmap(width, height, local [all...] |
/haiku/src/kits/interface/ |
H A D | Bitmap.cpp | 14 contain bitmap data. 56 BBitmap::Private bitmap(sBitmapList.ItemAt(i)); 57 bitmap.ReconnectToAppServer(); 62 BBitmap::Private::Private(BBitmap* bitmap) argument 64 fBitmap(bitmap) 77 bitmap data (not including any padding) given a color space and a 147 /*! \brief Returns the number of bytes per row needed to store the bitmap 170 \param bounds The bitmap dimensions. 172 \param colorSpace The bitmap's color space. 173 \param bytesPerRow The number of bytes per row the bitmap shoul 799 ImportBits(const BBitmap* bitmap) argument 831 ImportBits(const BBitmap* bitmap, BPoint from, BPoint to, BSize size) argument 845 ImportBits(const BBitmap* bitmap, BPoint from, BPoint to, int32 width, int32 height) argument [all...] |
/haiku/src/libs/agg/font_freetype/ |
H A D | agg_font_freetype.cpp | 408 void decompose_ft_bitmap_mono(const FT_Bitmap& bitmap, argument 415 const int8u* buf = (const int8u*)bitmap.buffer; 416 int pitch = bitmap.pitch; 417 sl.reset(x, x + bitmap.width); 421 buf += bitmap.pitch * (bitmap.rows - 1); 422 y += bitmap.rows; 425 for(i = 0; i < bitmap.rows; i++) 430 for(j = 0; j < bitmap.width; j++) 448 void decompose_ft_bitmap_gray8(const FT_Bitmap& bitmap, argument [all...] |
/haiku/src/apps/screenshot/ |
H A D | Utility.cpp | 71 BMessage* bitmap = new BMessage(); local 72 screenshot.Archive(bitmap); 73 clipboard->AddMessage("image/bitmap", bitmap); 113 // Write the screenshot bitmap to the file 119 BBitmap* bitmap; local 120 stream.DetachBitmap(&bitmap); 121 // The stream takes over ownership of the bitmap 143 // Import the cursor bitmap into wholeScreen 147 // Import the cursor area bitmap int [all...] |
/haiku/src/preferences/appearance/ |
H A D | ColorPreview.cpp | 243 BBitmap* bitmap = new BBitmap(rect, B_RGB32, true); local 244 if (bitmap->Lock()) { 246 bitmap->AddChild(view); 278 bitmap->Unlock(); 281 DragMessage(&message, bitmap, B_OP_ALPHA, BPoint(14.0f, 14.0f));
|
/haiku/src/apps/terminal/ |
H A D | ColorPreview.cpp | 243 BBitmap* bitmap = new BBitmap(rect, B_RGB32, true); local 244 if (bitmap->Lock()) { 246 bitmap->AddChild(view); 278 bitmap->Unlock(); 281 DragMessage(&message, bitmap, B_OP_ALPHA, BPoint(14.0f, 14.0f));
|
/haiku/src/add-ons/print/drivers/canon_lips/lips3/ |
H A D | Lips3.cpp | 103 LIPS3Driver::NextBand(BBitmap* bitmap, BPoint* offset) argument 108 BRect bounds = bitmap->Bounds(); 132 if (get_valid_rect(bitmap, &rc)) { 146 int delta = bitmap->BytesPerRow(); 157 uchar* ptr = static_cast<uchar*>(bitmap->Bits()) 212 DBGMSG(("band bitmap is clean.\n"));
|
/haiku/src/add-ons/print/drivers/pcl5/ |
H A D | PCL5.cpp | 90 PCL5Driver::NextBand(BBitmap* bitmap, BPoint* offset) argument 95 BRect bounds = bitmap->Bounds(); 119 if (get_valid_rect(bitmap, &rc)) { 133 int delta = bitmap->BytesPerRow(); 143 uchar* ptr = static_cast<uchar*>(bitmap->Bits()) 200 DBGMSG(("band bitmap is clean.\n"));
|
/haiku/src/apps/showimage/ |
H A D | ShowImageView.h | 53 status_t SetImage(const entry_ref* ref, BBitmap* bitmap, 65 BBitmap* bitmap, 150 BBitmap* bitmap); 153 BBitmap* bitmap, 155 bool _OutputFormatForType(BBitmap* bitmap, 209 // the portion of the background bitmap the selection is made
|
/haiku/src/apps/icon-o-matic/generic/gui/panel/color_picker/ |
H A D | ColorPreview.cpp | 245 BBitmap* bitmap = new BBitmap(BRect(0.0, 0.0, 15.0, 15.0), B_RGB32); local 246 BMessage message = make_color_drop_message(fColor, bitmap); 248 DragMessage(&message, bitmap, B_OP_ALPHA, BPoint(9.0, 9.0));
|
/haiku/headers/os/interface/ |
H A D | Bitmap.h | 29 // 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, 124 status_t ImportBits(const BBitmap* bitmap, BPoint from,
|
H A D | Control.h | 77 virtual status_t SetIcon(const BBitmap* bitmap, 79 status_t SetIconBitmap(const BBitmap* bitmap,
|
/haiku/src/apps/drivesetup/ |
H A D | PartitionList.cpp | 59 BBitmapStringField::BBitmapStringField(BBitmap* bitmap, const char* string) argument 62 fBitmap(bitmap) 74 BBitmapStringField::SetBitmap(BBitmap* bitmap) argument 77 fBitmap = bitmap; 106 const BBitmap* bitmap = bitmapField->Bitmap(); local 110 BRect r = bitmap ? bitmap->Bounds() : BRect(0, 0, 15, 15); 137 // draw the bitmap 138 if (bitmap) { 140 parent->DrawBitmap(bitmap, BPoin 175 const BBitmap* bitmap = bitmapField->Bitmap(); local [all...] |
H A D | PartitionList.h | 22 // A field type displaying both a bitmap and a string so that the 23 // tree display looks nicer (both text and bitmap are indented) 27 BBitmapStringField(BBitmap* bitmap, 31 void SetBitmap(BBitmap* bitmap);
|
/haiku/src/kits/tracker/ |
H A D | BackgroundImage.cpp | 96 BBitmap* bitmap = NULL; local 100 bitmap = BTranslationUtils::GetBitmap(path); 101 if (!bitmap) 102 PRINT(("failed to load background bitmap from path\n")); 117 BackgroundImage::BackgroundImageInfo(workspaces, bitmap, mode, 131 BBitmap* bitmap, Mode mode, BPoint offset, bool textWidgetOutline) 134 fBitmap(bitmap), 207 // figure out the display mode and the destination bounds for the bitmap 250 // switch to the bitmap and force a redraw 308 // do a simple lookup for the most likely candidate bitmap 130 BackgroundImageInfo(uint32 workspaces, BBitmap* bitmap, Mode mode, BPoint offset, bool textWidgetOutline) argument [all...] |
/haiku/src/apps/mediaplayer/supplier/ |
H A D | MediaTrackVideoSupplier.cpp | 142 BBitmap* bitmap = new BBitmap(Bounds(), 0, ColorSpace(), BytesPerRow()); local 143 memcpy(bitmap->Bits(), buffer, bitmap->BitsLength()); 144 BBitmapStream bitmapStream(bitmap); 146 bitmapStream.DetachBitmap(&bitmap); 147 delete bitmap;
|
/haiku/headers/private/interface/ |
H A D | PrivateScreen.h | 56 status_t GetBitmap(BBitmap** bitmap, bool drawCursor, 58 status_t ReadBitmap(BBitmap* bitmap, bool drawCursor,
|
/haiku/src/servers/app/drawing/ |
H A D | BitmapHWInterface.cpp | 25 BitmapHWInterface::BitmapHWInterface(ServerBitmap* bitmap) argument 29 fFrontBuffer(new(nothrow) BitmapBuffer(bitmap)) 63 // import the current contents of the bitmap 64 // into the back bitmap
|
/haiku/src/libs/icon/ |
H A D | IconRenderer.cpp | 341 // bitmap 343 agg::rendering_buffer bitmap; local 344 bitmap.attach(static_cast<unsigned char*>(bbitmap->Bits()), bbitmap->Bounds().Width() + 1, 347 // pixel format attached to bitmap 348 PixelFormat pixf_img(bitmap); 357 // image accessor attached to pixel format of bitmap 397 IconRenderer::IconRenderer(BBitmap* bitmap) argument 398 : fBitmap(bitmap), 419 // attach rendering buffer to bitmap 420 fRenderingBuffer.attach((uint8*)bitmap [all...] |
/haiku/src/apps/remotedesktop/ |
H A D | RemoteView.cpp | 503 BBitmap *bitmap; local 506 if (message.ReadBitmap(&bitmap) != B_OK) 510 fCursorBitmap = bitmap; 761 BBitmap *bitmap; local 768 if (message.ReadBitmap(&bitmap) != B_OK || bitmap == NULL) 771 offscreen->DrawBitmap(bitmap, bitmapRect, viewRect, options); 773 delete bitmap; 788 BBitmap *bitmap; local 792 if (message.ReadBitmap(&bitmap, tru [all...] |