Lines Matching defs:bitmap

163 		// glint bitmap is used by close and zoom buttons
727 ServerBitmap* bitmap = tab->closeBitmaps[index];
728 if (bitmap == NULL) {
729 bitmap = _GetBitmapForButton(tab, COMPONENT_CLOSE_BUTTON,
731 tab->closeBitmaps[index] = bitmap;
734 _DrawButtonBitmap(bitmap, direct, rect);
758 ServerBitmap* bitmap = tab->zoomBitmaps[index];
759 if (bitmap == NULL) {
760 bitmap = _GetBitmapForButton(tab, COMPONENT_ZOOM_BUTTON,
762 tab->zoomBitmaps[index] = bitmap;
765 _DrawButtonBitmap(bitmap, direct, rect);
867 BeDecorator::_DrawButtonBitmap(ServerBitmap* bitmap, bool direct, BRect rect)
869 if (bitmap == NULL)
876 fDrawingEngine->DrawBitmap(bitmap, rect.OffsetToCopy(0, 0), rect);
898 UtilityBitmap* bitmap;
939 // search our list for a matching bitmap
947 return current->bitmap;
955 // didn't find any bitmap, create a new one
965 STRACE(("BeDecorator creating bitmap for %s %s at size %ldx%ld\n",
1008 // Read the source bitmap in forward while writing the
1009 // destination in reverse to rotate the bitmap by 180��.
1181 // Read the source bitmap in forward while writing the
1182 // destination in reverse to rotate the bitmap by 180��.
1257 // draw small bitmap
1262 // Read the source bitmap in forward while writing the
1263 // destination in reverse to rotate the bitmap by 180��.
1331 UtilityBitmap* bitmap = sBitmapDrawingEngine->ExportToBitmap(width, height,
1333 if (bitmap == NULL)
1336 // bitmap ready, put it into the list
1339 delete bitmap;
1347 entry->bitmap = bitmap;
1352 return bitmap;
1359 UtilityBitmap* bitmap = new(std::nothrow) UtilityBitmap(bounds,
1361 if (bitmap == NULL)
1364 if (!bitmap->IsValid()) {
1365 delete bitmap;
1369 memset(bitmap->Bits(), 0, bitmap->BitsLength());
1372 return bitmap;