Home
last modified time | relevance | path

Searched refs:HBITMAP (Results 1 – 25 of 84) sorted by relevance

1234

/external/webkit/Source/WebCore/page/win/
DFrameCGWin.cpp53 static HBITMAP imageFromRect(const Frame* frame, IntRect& ir) in imageFromRect()
64 HBITMAP hbmp = CreateDIBSection(0, &bmp, DIB_RGB_COLORS, static_cast<void**>(&bits), 0, 0); in imageFromRect()
65 HBITMAP hbmpOld = static_cast<HBITMAP>(SelectObject(hdc, hbmp)); in imageFromRect()
83 HBITMAP imageFromSelection(Frame* frame, bool forceBlackText) in imageFromSelection()
91 HBITMAP image = imageFromRect(frame, ir); in imageFromSelection()
108 HBITMAP result = imageFromRect(this, paintingRect); in nodeImage()
DFrameWin.h32 typedef struct HBITMAP__* HBITMAP; typedef
39 HBITMAP imageFromSelection(Frame* frame, bool forceWhiteText);
/external/webkit/Source/WebCore/platform/win/
DCursorWin.cpp54 …OwnPtr<HBITMAP> hCursor(CreateDIBSection(dc, (BITMAPINFO *)&cursorImage, DIB_RGB_COLORS, 0, 0, 0)); in createSharedCursor()
58 HBITMAP hOldBitmap = (HBITMAP)SelectObject(workingDC, hCursor.get()); in createSharedCursor()
64 OwnPtr<HBITMAP> hMask(CreateBitmap(img->width(), img->height(), 1, 1, maskBits.data())); in createSharedCursor()
79 OwnPtr<HBITMAP> hCursor(CreateDIBSection(dc, &cursorImage, DIB_RGB_COLORS, 0, 0, 0)); in createSharedCursor()
84 OwnPtr<HBITMAP> andMask(CreateBitmap(cursor.bmWidth, cursor.bmHeight, 1, 1, NULL)); in createSharedCursor()
85 OwnPtr<HBITMAP> xorMask(CreateCompatibleBitmap(dc, cursor.bmWidth, cursor.bmHeight)); in createSharedCursor()
86 HBITMAP oldCursor = (HBITMAP)SelectObject(workingDC, hCursor.get()); in createSharedCursor()
87 HBITMAP oldAndMask = (HBITMAP)SelectObject(andMaskDC, andMask.get()); in createSharedCursor()
88 HBITMAP oldXorMask = (HBITMAP)SelectObject(xorMaskDC, xorMask.get()); in createSharedCursor()
DDragImageCairoWin.cpp45 HBITMAP allocImage(HDC dc, IntSize size, PlatformContextCairo** targetRef) in allocImage()
50 HBITMAP hbmp = CreateDIBSection(dc, &bmpInfo, DIB_RGB_COLORS, &bits, 0, 0); in allocImage()
88 static cairo_surface_t* createCairoContextFromBitmap(HBITMAP bitmap) in createCairoContextFromBitmap()
114 HBITMAP hbmp = 0; in scaleDragImage()
155 HBITMAP hbmp = 0; in createDragImageFromImage()
DDragImageCGWin.cpp46 HBITMAP allocImage(HDC dc, IntSize size, CGContextRef *targetRef) in allocImage()
51 HBITMAP hbmp = CreateDIBSection(dc, &bmpInfo, DIB_RGB_COLORS, &bits, 0, 0); in allocImage()
68 static CGContextRef createCgContextFromBitmap(HBITMAP bitmap) in createCgContextFromBitmap()
91 HBITMAP hbmp = 0; in scaleDragImage()
125 HBITMAP hbmp = 0; in createDragImageFromImage()
DPopupMenuWin.h35 typedef struct HBITMAP__* HBITMAP; typedef
118 HBITMAP m_bmp;
/external/webkit/Source/WebKit2/UIProcess/win/
DBackingStoreWin.cpp43 BitmapDC(HBITMAP, HDC destinationDC);
50 HBITMAP m_originalBitmap;
53 BitmapDC::BitmapDC(HBITMAP bitmap, HDC destinationDC) in BitmapDC()
55 , m_originalBitmap(static_cast<HBITMAP>(::SelectObject(m_dc.get(), bitmap))) in BitmapDC()
70 static PassOwnPtr<HBITMAP> createBitmap(const IntSize& size) in createBitmap()
/external/webkit/Source/WebKit2/WebProcess/WebPage/win/
DChunkedUpdateDrawingAreaWin.cpp44 …OwnPtr<HBITMAP> hbmp(::CreateDIBSection(0, &bmp, DIB_RGB_COLORS, &bits, updateChunk->memory(), 0)); in paintIntoUpdateChunk()
46 HBITMAP hbmpOld = static_cast<HBITMAP>(::SelectObject(hdc.get(), hbmp.get())); in paintIntoUpdateChunk()
/external/webkit/Source/WebKit/win/
DWebIconDatabase.h123 HBITMAP getOrCreateSharedBitmap(LPSIZE size);
124 HBITMAP getOrCreateDefaultIconBitmap(LPSIZE size);
125 HashMap<IntSize, HBITMAP> m_defaultIconMap;
126 HashMap<IntSize, HBITMAP> m_sharedIconMap;
DWebIconDatabase.cpp179 if (!icon->getHBITMAPOfSize((HBITMAP)(ULONG64)*bitmap, size)) { in iconForURL()
283 HBITMAP createDIB(LPSIZE size) in createDIB()
288 HBITMAP result = CreateDIBSection(dc, &bmInfo, DIB_RGB_COLORS, 0, 0, 0); in createDIB()
294 HBITMAP WebIconDatabase::getOrCreateSharedBitmap(LPSIZE size) in getOrCreateSharedBitmap()
296 HBITMAP result = m_sharedIconMap.get(*size); in getOrCreateSharedBitmap()
304 HBITMAP WebIconDatabase::getOrCreateDefaultIconBitmap(LPSIZE size) in getOrCreateDefaultIconBitmap()
306 HBITMAP result = m_defaultIconMap.get(*size); in getOrCreateDefaultIconBitmap()
/external/webkit/Source/JavaScriptCore/wtf/wince/
DMemoryManager.h24 typedef struct HBITMAP__* HBITMAP; typedef
39 static HBITMAP createCompatibleBitmap(HDC hdc, int width, int height);
40 static HBITMAP createDIBSection(const BITMAPINFO* pbmi, void** ppvBits);
/external/webkit/Source/WebCore/platform/graphics/win/
DGraphicsContextCairoWin.cpp46 HBITMAP bitmap = static_cast<HBITMAP>(GetCurrentObject(hdc, OBJ_BITMAP)); in createCairoContextWithHDC()
134 OwnPtr<HBITMAP> bitmap = adoptPtr(static_cast<HBITMAP>(GetCurrentObject(hdc, OBJ_BITMAP))); in releaseWindowsContext()
DDIBPixelData.h48 DIBPixelData(HBITMAP);
50 void initialize(HBITMAP);
DGraphicsContextCGWin.cpp42 HBITMAP bitmap = static_cast<HBITMAP>(GetCurrentObject(hdc, OBJ_BITMAP)); in CGContextWithHDC()
101 OwnPtr<HBITMAP> bitmap = adoptPtr(static_cast<HBITMAP>(GetCurrentObject(hdc, OBJ_BITMAP))); in releaseWindowsContext()
DDIBPixelData.cpp34 DIBPixelData::DIBPixelData(HBITMAP bitmap) in DIBPixelData()
39 void DIBPixelData::initialize(HBITMAP bitmap) in initialize()
DImageCairoWin.cpp38 PassRefPtr<BitmapImage> BitmapImage::create(HBITMAP hBitmap) in create()
58 bool BitmapImage::getHBITMAPOfSize(HBITMAP bmp, LPSIZE size) in getHBITMAPOfSize()
DImageCGWin.cpp39 PassRefPtr<BitmapImage> BitmapImage::create(HBITMAP hBitmap) in create()
62 bool BitmapImage::getHBITMAPOfSize(HBITMAP bmp, LPSIZE size) in getHBITMAPOfSize()
/external/webkit/Source/WebCore/platform/graphics/wince/
DSharedBitmap.h69 HBITMAP getHandle() { return m_hbitmap.get(); } in getHandle()
70 …PassOwnPtr<HBITMAP> createHandle(void** pixels, BitmapInfo* bmpInfo, int h = -1, bool use16bit = t…
80 …PassOwnPtr<HBITMAP> clipBitmap(const IntRect& rect, bool useAlpha, BitmapInfo& bmpInfo, void*& pix…
133 OwnPtr<HBITMAP> m_hbitmap;
DSharedBitmap.cpp190 PassOwnPtr<HBITMAP> SharedBitmap::createHandle(void** pixels, BitmapInfo* bmpInfo, int height, bool… in createHandle()
199 OwnPtr<HBITMAP> hbmp = adoptPtr(CreateDIBSection(0, bmpInfo, DIB_RGB_COLORS, pixels, 0, 0)); in createHandle()
254 HBITMAP hbitmap = 0; in draw()
255 OwnPtr<HBITMAP> hTempBitmap; in draw()
296 PassOwnPtr<HBITMAP> SharedBitmap::clipBitmap(const IntRect& rect, bool useAlpha, BitmapInfo& bmpInf… in clipBitmap()
309 OwnPtr<HBITMAP> newBmp = adoptPtr(CreateDIBSection(0, &bmpInfo, DIB_RGB_COLORS, &pixels, 0, 0)); in clipBitmap()
346 static void drawPatternSimple(HDC hdc, const RECT& destRect, HBITMAP hbmp, const POINT& phase) in drawPatternSimple()
435 OwnPtr<HBITMAP> clippedBmp; in drawPattern()
508 … OwnPtr<HBITMAP> hbmpTemp = adoptPtr(CreateDIBSection(0, &bmpInfo, DIB_RGB_COLORS, &pixels, 0, 0)); in drawPattern()
524 OwnPtr<HBITMAP> hbmp = createHandle(&pixels, &bmpInfo, -1, false); in drawPattern()
/external/webkit/Source/WebCore/platform/graphics/
DBitmapImage.h45 typedef struct HBITMAP__ *HBITMAP; typedef
148 static PassRefPtr<BitmapImage> create(HBITMAP);
151 virtual bool getHBITMAP(HBITMAP);
152 virtual bool getHBITMAPOfSize(HBITMAP, LPSIZE);
DImage.h55 typedef struct HBITMAP__ *HBITMAP; typedef
145 virtual bool getHBITMAP(HBITMAP) { return false; } in getHBITMAP() argument
146 virtual bool getHBITMAPOfSize(HBITMAP, LPSIZE) { return false; } in getHBITMAPOfSize() argument
/external/webkit/Source/JavaScriptCore/wtf/
DOwnPtrCommon.h32 typedef struct HBITMAP__* HBITMAP; typedef
63 void deleteOwnedPtr(HBITMAP);
/external/webkit/Tools/TestWebKitAPI/Tests/WebKit2/win/
DHideFindIndicator.cpp35 static HBITMAP bitmap;
42 static void findIndicatorCallback(WKViewRef, HBITMAP selectionBitmap, RECT, bool, void*) in findIndicatorCallback()
/external/chromium/webkit/glue/
Dwebcursor_win.cc164 HBITMAP bitmap_handle = CreateDIBSection( in GetCursor()
171 HBITMAP old_bitmap = reinterpret_cast<HBITMAP>( in GetCursor()
176 HBITMAP mask = CreateBitmap( in GetCursor()
/external/webkit/Source/WebCore/platform/
DDragImage.h45 typedef struct HBITMAP__* HBITMAP;
74 typedef HBITMAP DragImageRef;

1234