/haiku/src/add-ons/translators/wonderbrush/ |
H A D | Canvas.cpp | 148 BBitmap* bitmap = new BBitmap(fBounds, 0, B_RGBA32); local 149 if (!bitmap->IsValid()) { 150 delete bitmap; 154 // this bitmap is uninitialized, clear to black/fully transparent 155 memset(bitmap->Bits(), 0, bitmap->BitsLength()); 156 Compose(bitmap, fBounds); 158 uint8* bits = (uint8*)bitmap->Bits(); 159 uint32 bpr = bitmap->BytesPerRow(); 160 uint32 width = bitmap [all...] |
H A D | WonderBrushTranslator.cpp | 38 "image/x-be-bitmap", 58 "image/x-be-bitmap", 210 BBitmap* bitmap = wbImage->Bitmap(); local 211 if (!bitmap) 214 uint32 width = bitmap->Bounds().IntegerWidth() + 1; 215 uint32 height = bitmap->Bounds().IntegerHeight() + 1; 216 color_space format = bitmap->ColorSpace(); 217 uint32 bytesPerRow = bitmap->BytesPerRow(); 220 // Construct and write Be bitmap header 232 delete bitmap; [all...] |
/haiku/src/tests/kits/interface/bbitmap/ |
H A D | SetBitsTester.cpp | 383 dump_bitmap(const BBitmap *bitmap) 385 BRect bounds = bitmap->Bounds(); 388 printf("BBitmap: %ldx%ld, %x\n", width, height, bitmap->ColorSpace()); 389 int32 bpr = bitmap->BytesPerRow(); 390 const uint8 *bits = (const uint8*)bitmap->Bits(); 408 BBitmap bitmap(bounds, initialData.space); 409 CHK(bitmap.InitCheck() == B_OK); 410 CHK(bitmap.Bounds() == bounds); 411 CHK(bitmap.BitsLength() == initialData.length); 412 memcpy(bitmap [all...] |
/haiku/headers/private/interface/ |
H A D | BitmapPrivate.h | 26 Private(BBitmap* bitmap);
|
/haiku/src/add-ons/print/drivers/gutenprint/ |
H A D | GPBand.h | 18 GPBand(BBitmap* bitmap, BRect validRect, BPoint where);
|
/haiku/src/apps/mediaplayer/media_node_framework/video/ |
H A D | VideoTarget.h | 9 Until the next call to SetBitmap() the bitmap can be used -- thereafter 10 it is not allowed to use it any longer. Therefore the bitmap variable 32 virtual void SetBitmap(const BBitmap* bitmap);
|
/haiku/src/preferences/appearance/ |
H A D | SysCursorAPI.h | 9 void set_syscursor(cursor_which which, const BBitmap *bitmap);
|
H A D | CurView.cpp | 415 bitmap=NULL; 427 bitmap=bmp; 434 if(bitmap) 435 DrawBitmap(bitmap, drawrect); 449 delete bitmap; 450 bitmap=tmp; 457 drawrect=bitmap->Bounds(); 458 if(r.Contains(bitmap->Bounds())) 461 offset=((r.IntegerWidth()-bitmap->Bounds().IntegerWidth()) >> 1)+5; 469 if(bitmap [all...] |
/haiku/src/servers/app/drawing/ |
H A D | Overlay.h | 24 Overlay(HWInterface& interface, ServerBitmap* bitmap, 30 status_t Suspend(ServerBitmap* bitmap, bool needTemporary); 31 status_t Resume(ServerBitmap* bitmap); 59 status_t _AllocateBuffer(ServerBitmap* bitmap);
|
H A D | BitmapBuffer.cpp | 12 BitmapBuffer::BitmapBuffer(ServerBitmap* bitmap) argument 13 : fBitmap(bitmap)
|
H A D | BBitmapBuffer.cpp | 8 BBitmapBuffer::BBitmapBuffer(BBitmap* bitmap) argument 9 : fBitmap(bitmap)
|
/haiku/src/tests/kits/interface/menu/menuworld/ |
H A D | BitmapMenuItem.h | 29 BitmapMenuItem(const char* name, const BBitmap& bitmap,
|
/haiku/src/libs/glut/ |
H A D | glutbitmap.h | 23 const GLubyte *bitmap; member in struct:__anon1823
|
/haiku/src/servers/app/ |
H A D | OffscreenWindow.h | 22 OffscreenWindow(ServerBitmap* bitmap,
|
/haiku/src/apps/haikudepot/model/ |
H A D | PackageIconRepository.h | 18 BitmapRef& bitmap) = 0;
|
H A D | PackageScreenshotRepository.h | 41 status_t LoadScreenshot(const ScreenshotCoordinate& coord, BitmapRef* bitmap); 43 BitmapRef* bitmap);
|
/haiku/src/apps/icon-o-matic/import_export/bitmap/ |
H A D | BitmapExporter.cpp | 41 // render icon into bitmap with given size and transparent background 48 BBitmap bitmap(BRect(0, 0, fSize - 1, fSize - 1), 51 status_t ret = bitmap.InitCheck(); 55 IconRenderer renderer(&bitmap); 59 // renderer.Demultiply(&bitmap); 61 // save bitmap to translator 66 BBitmapStream bitmapStream(&bitmap);
|
/haiku/src/servers/app/font/ |
H A D | FontEngine.cpp | 292 decompose_ft_bitmap_mono(const FT_Bitmap& bitmap, int x, int y, argument 295 const uint8* buf = (const uint8*)bitmap.buffer; 296 int pitch = bitmap.pitch; 297 sl.reset(x, x + bitmap.width); 300 buf += bitmap.pitch * (bitmap.rows - 1); 301 y += bitmap.rows; 304 for (unsigned int i = 0; i < bitmap.rows; i++) { 307 for (unsigned int j = 0; j < bitmap.width; j++) { 323 decompose_ft_bitmap_gray8(const FT_Bitmap& bitmap, in argument 366 decompose_ft_bitmap_subpix(const FT_Bitmap& bitmap, int x, int y, bool flip_y, Scanline& sl, ScanlineStorage& storage) argument [all...] |
/haiku/src/servers/app/drawing/interface/remote/ |
H A D | RemoteMessage.cpp | 91 RemoteMessage::AddBitmap(const ServerBitmap& bitmap, bool minimal) argument 93 Add(bitmap.Width()); 94 Add(bitmap.Height()); 95 Add(bitmap.BytesPerRow()); 98 Add(bitmap.ColorSpace()); 99 Add(bitmap.Flags()); 102 uint32 bitsLength = bitmap.BitsLength(); 108 memcpy(fBuffer + fWriteIndex, bitmap.Bits(), bitsLength); 173 RemoteMessage::AddBitmap(const BBitmap& bitmap) argument 175 BRect bounds = bitmap 357 BBitmap *bitmap = new(std::nothrow) BBitmap( local [all...] |
/haiku/src/kits/shared/ |
H A D | IconButton.cpp | 101 BBitmap* bitmap = fNormalBitmap; local 104 bitmap = fDisabledBitmap; 117 if (bitmap && bitmap->IsValid()) { 118 if (bitmap->ColorSpace() == B_RGBA32 119 || bitmap->ColorSpace() == B_RGBA32_BIG) { 124 - bitmap->Bounds().Width()) / 2.0 + 0.5); 126 - bitmap->Bounds().Height()) / 2.0 + 0.5); 127 DrawBitmap(bitmap, BPoint(x, y)); 314 BBitmap bitmap(bitmapRec 381 SetIcon(const BBitmap* bitmap, uint32 flags) argument 449 BBitmap* bitmap = new(std::nothrow) BBitmap( local 585 BBitmap* bitmap = NULL; local 686 _MakeBitmaps(const BBitmap* bitmap) argument [all...] |
/haiku/src/apps/icon-o-matic/generic/gui/ |
H A D | IconButton.cpp | 83 BBitmap* bitmap = fNormalBitmap; local 84 // adjust colors and bitmap according to flags 96 bitmap = fDisabledBitmap; 104 bitmap = fClickedBitmap; 109 bitmap = fDisabledClickedBitmap; 129 // bitmap 131 if (bitmap && bitmap->IsValid()) { 132 float x = floorf((width - bitmap->Bounds().Width()) / 2.0 + 0.5); 133 float y = floorf((height - bitmap 358 SetIcon(const BBitmap* bitmap) argument 414 BBitmap* bitmap = new(nothrow) BBitmap(quickResBitmap->Bounds(), B_RGB32, true); local 471 BBitmap* bitmap = NULL; local 601 _MakeBitmaps(const BBitmap* bitmap) argument [all...] |
/haiku/src/tests/kits/media/mpeg2_decoder_test/ |
H A D | mpeg2_decoder_test.cpp | 111 status_t SaveBitmapAtPathUsingFormat(BBitmap* bitmap, BString* filePath, 269 BBitmap* bitmap = NULL; local 271 bitmap = new BBitmap(imageFrame, kNoFlags, imageColorSpace); 272 if (bitmap == NULL) 273 return bitmap; 275 if (bitmap->InitCheck() < B_OK) { 276 delete bitmap; 280 if (bitmap->IsValid() == false) { 281 delete bitmap; 285 return bitmap; 290 SaveBitmapAtPathUsingFormat(BBitmap* bitmap, BString* filePath, uint32 bitmapStorageFormat) argument [all...] |
/haiku/src/preferences/backgrounds/ |
H A D | ImageFilePanel.cpp | 120 BBitmap* bitmap = BTranslationUtils::GetBitmap(&ref); local 122 if (bitmap != NULL) { 124 if (bitmap->Bounds().Width() > bitmap->Bounds().Height()) { 126 - ((bitmap->Bounds().Height() + 1) 127 / (bitmap->Bounds().Width() + 1) 131 - ((bitmap->Bounds().Width() + 1) 132 / (bitmap->Bounds().Height() + 1) 135 fImageView->SetViewBitmap(bitmap, bitmap [all...] |
/haiku/src/apps/soundrecorder/ |
H A D | DrawingTidbits.h | 47 void ReplaceColor(BBitmap *bitmap, rgb_color from, rgb_color to); 48 void ReplaceTransparentColor(BBitmap *bitmap, rgb_color with);
|
/haiku/src/tests/servers/app/painter/ |
H A D | BitmapView.cpp | 11 BBitmap* bitmap) 13 fBitmap(bitmap) 31 // draw the bitmap with pixel alpha 10 BitmapView(BRect frame, const char* name, BBitmap* bitmap) argument
|