Searched refs:bitmap (Results 101 - 125 of 295) sorted by relevance

1234567891011>>

/haiku/src/apps/haikudepot/model/
H A DPackageIconTarRepository.cpp235 BitmapRef& bitmap)
249 bitmap.SetTo(sDefaultIcon);
254 result = _CreateIconFromTarOffset(iconDataTarOffset, bitmap);
256 fIconCache.Put(key, bitmap);
263 bitmap.SetTo(fIconCache.Get(key).Get());
291 HDFATAL("unsupported bitmap size");
307 BitmapRef& bitmap)
317 bitmap.SetTo(new(std::nothrow)SharedBitmap(*fTarIo, header.Length()));
324 option. If there are only bitmap images to choose from then consider what
234 GetIcon(const BString& pkgName, BitmapSize size, BitmapRef& bitmap) argument
306 _CreateIconFromTarOffset(off_t offset, BitmapRef& bitmap) argument
/haiku/src/servers/app/drawing/Painter/bitmap_painter/
H A DBitmapPainter.cpp34 const ServerBitmap* bitmap, uint32 options)
40 if (bitmap == NULL || !bitmap->IsValid())
43 fBitmapBounds = bitmap->Bounds();
45 // Compensate for the lefttop offset the bitmap bounds might have
48 fColorSpace = bitmap->ColorSpace();
50 fBitmap.attach(bitmap->Bits(), bitmap->Width(), bitmap->Height(),
51 bitmap
33 BitmapPainter(const Painter* painter, const ServerBitmap* bitmap, uint32 options) argument
[all...]
H A DBitmapPainter.h20 const ServerBitmap* bitmap,
H A DDrawBitmapNearestNeighbor.h17 agg::rendering_buffer& bitmap, BPoint offset,
23 uint32 srcWidth = bitmap.width();
24 uint32 srcHeight = bitmap.height();
52 // Extract the cropping information for the source bitmap,
53 // If only a part of the source bitmap is to be drawn with scale,
65 // handle cropped source bitmap
77 // handle cropped source bitmap
124 const uint8* src = bitmap.row_ptr(yIndices[y1]);
136 //printf("draw bitmap %.5fx%.5f: %lld\n", xScale, yScale,
16 Draw(const Painter* painter, PainterAggInterface& aggInterface, agg::rendering_buffer& bitmap, BPoint offset, double scaleX, double scaleY, BRect destinationRect) argument
/haiku/src/apps/screenshot/
H A DScreenshot.cpp139 BMessage* bitmap = new BMessage(); local
140 fUtility->wholeScreen->Archive(bitmap);
141 message.AddMessage("wholeScreen", bitmap);
143 bitmap = new BMessage();
144 fUtility->cursorBitmap->Archive(bitmap);
145 message.AddMessage("cursorBitmap", bitmap);
147 bitmap = new BMessage();
148 fUtility->cursorAreaBitmap->Archive(bitmap);
149 message.AddMessage("cursorAreaBitmap", bitmap);
166 printf("Screenshot [OPTIONS] [FILE] Creates a bitmap o
[all...]
/haiku/src/apps/icon-o-matic/generic/gui/
H A DIconButton.h70 status_t SetIcon(const BBitmap* bitmap);
79 BBitmap* Bitmap() const; // caller has to delete the returned bitmap
114 BBitmap* _ConvertToRGB32(const BBitmap* bitmap) const;
115 status_t _MakeBitmaps(const BBitmap* bitmap);
/haiku/src/apps/resedit/
H A DResourceRoster.cpp94 BBitmap *bitmap = BTranslationUtils::GetBitmap(&memio); local
95 if (bitmap) {
96 BitmapPreviewField *field = new BitmapPreviewField(bitmap);
H A DBitmapView.h20 BitmapView(BRect frame, const char *name, BMessage *mod, BBitmap *bitmap,
31 virtual void SetBitmap(BBitmap *bitmap);
/haiku/src/tests/servers/app/painter/
H A Dmain.cpp241 // bitmap drawing
300 // prepare a test bitmap for bitmap rendering
326 BBitmap* bitmap = new BBitmap(bounds, B_RGB32); local
327 //memset(bitmap->Bits(), 0, bitmap->BitsLength());
328 BitmapBuffer* buffer = new BitmapBuffer(bitmap);
344 // reset bitmap contents
345 memset(bitmap->Bits(), 255, bitmap
[all...]
/haiku/headers/private/shared/
H A DIconButton.h74 virtual status_t SetIcon(const BBitmap* bitmap,
86 // caller has to delete the returned bitmap
93 BBitmap* _ConvertToRGB32(const BBitmap* bitmap) const;
94 status_t _MakeBitmaps(const BBitmap* bitmap);
/haiku/src/tests/kits/app/bcursor/
H A DBCursorTester.cpp108 BCursor(BBitmap *bitmap, BPoint* hotspot)
116 BBitmap *bitmap; local
119 get_mouse_bitmap(&bitmap, &hotspot);
122 BCursor cur(bitmap, hotspot);
/haiku/src/apps/debugger/user_interface/gui/teams_window/
H A DTeamsListView.cpp43 BBitmapStringField::BBitmapStringField(BBitmap* bitmap, const char* string) argument
46 fBitmap(bitmap)
58 BBitmapStringField::SetBitmap(BBitmap* bitmap) argument
61 fBitmap = bitmap;
90 const BBitmap* bitmap = bitmapField->Bitmap(); local
94 BRect r = bitmap ? bitmap->Bounds() : BRect(0, 0, 15, 15);
121 // draw the bitmap
122 if (bitmap) {
124 parent->DrawBitmap(bitmap, BPoin
159 const BBitmap* bitmap = bitmapField->Bitmap(); local
[all...]
H A DTeamsListView.h25 // A field type displaying both a bitmap and a string so that the
26 // tree display looks nicer (both text and bitmap are indented)
30 BBitmapStringField(BBitmap* bitmap,
34 void SetBitmap(BBitmap* bitmap);
/haiku/src/kits/tracker/
H A DIconCache.cpp50 // Use lazily allocated bitmap arrays for every view for node icon cache
232 BBitmap* bitmap = IconForMode(mode, size); local
233 if (bitmap == NULL)
236 uchar* bits = (uchar*)bitmap->Bits();
239 BRect bounds(bitmap->Bounds());
244 switch (bitmap->ColorSpace()) {
247 return *(bits + (int32)(floorf(where.y) * bitmap->BytesPerRow()
304 IconCacheEntry::SetIcon(BBitmap* bitmap, IconDrawMode mode, BSize size) argument
323 *icon = bitmap;
382 BBitmap* bitmap local
458 BBitmap* bitmap = lazyBitmap->Adopt(); local
612 BBitmap* bitmap = lazyBitmap->Get(); local
624 BBitmap* bitmap = lazyBitmap->Adopt(); local
765 BBitmap* bitmap = lazyBitmap->Get(); local
820 BBitmap* bitmap = lazyBitmap->Adopt(); local
892 BBitmap* bitmap = lazyBitmap->Get(); local
1187 BBitmap* bitmap = lazyBitmap.Adopt(); local
1270 DumpBitmap(const BBitmap* bitmap) argument
1534 BBitmap* bitmap = IconForMode(mode, size); local
1561 BBitmap* bitmap = IconForMode(mode, size); local
1620 BBitmap* bitmap = IconForMode(mode, size); local
1650 BBitmap* bitmap = IconForMode(mode, size); local
1879 BBitmap* bitmap = fBitmap; local
[all...]
/haiku/src/add-ons/print/drivers/canon_lips/lips3/
H A DLips3.h23 virtual bool NextBand(BBitmap *bitmap, BPoint *offset);
/haiku/src/add-ons/print/drivers/canon_lips/lips4/
H A DLips4.h24 virtual bool NextBand(BBitmap* bitmap, BPoint* offset);
/haiku/src/add-ons/print/drivers/pcl6/
H A DRasterizer.h17 * Sets the bitmap to be rasterized
19 * can be used to rasterize the bitmap line per line or the method
21 * can be used to rasterize the entire bitmap at once.
24 * @param bitmap the bitamp to be rasterized.
26 * @return true if the bitmap is not empty and false if the bitmap is
29 bool SetBitmap(int x, int y, BBitmap* bitmap,
45 // The bounds of the bitmap to be rasterized
71 // The method is called for each line in the bitmap.
/haiku/src/add-ons/print/drivers/postscript/
H A DPS.h24 virtual bool NextBand(BBitmap* bitmap, BPoint* offset);
/haiku/src/add-ons/translators/raw/
H A Dmain.cpp113 BBitmap* bitmap; local
118 status = output.DetachBitmap(&bitmap);
131 view->DrawBitmap(bitmap, window->Bounds());
134 delete bitmap;
/haiku/src/preferences/appearance/
H A DSysCursorAPI.cpp22 void set_syscursor(cursor_which which, const BBitmap *bitmap) argument
/haiku/src/servers/app/
H A DBitmapManager.h41 void BitmapRemoved(ServerBitmap* bitmap);
/haiku/src/apps/icon-o-matic/generic/support/
H A Dsupport_ui.h34 BMessage make_color_drop_message(rgb_color color, BBitmap* bitmap);
/haiku/src/add-ons/print/drivers/gutenprint/
H A DGPDriver.h42 bool NextBand(BBitmap* bitmap, BPoint* offset);
/haiku/src/apps/showimage/
H A DImageCache.h35 BitmapOwner(BBitmap* bitmap);
47 BBitmap* bitmap; member in struct:CacheEntry
/haiku/src/add-ons/print/drivers/lpstyl/
H A DLpstyl.cpp40 LpstylDriver::NextBand(BBitmap* bitmap, BPoint* offset) argument
47 offset->y += bitmap->Bounds().Height();

Completed in 102 milliseconds

1234567891011>>