Searched defs:hdc (Results 26 - 50 of 63) sorted by relevance

123

/external/webkit/Source/WebCore/platform/graphics/wince/
H A DSharedBitmap.h100 void releaseDC(HDC hdc, unsigned key1) { s_dcProvider->releaseDC(this, hdc, key1); } argument
H A DSharedBitmap.cpp246 void SharedBitmap::draw(HDC hdc, const IntRect& dstRect, const IntRect& srcRect, CompositeOperator compositeOp) argument
275 StretchDIBits(hdc, dstRect.x(), dstRect.y(), dstRect.width(), dstRect.height(),
280 OwnPtr<HDC> hmemdc = adoptPtr(CreateCompatibleDC(hdc));
285 bool success = alphaBlendIfSupported(hdc, dstRect.x(), dstRect.y(), dstRect.width(), dstRect.height(), hmemdc.get(),
289 TransparentBlt(hdc, dstRect.x(), dstRect.y(), dstRect.width(), dstRect.height(), hmemdc.get(),
346 static void drawPatternSimple(HDC hdc, const RECT& destRect, HBITMAP hbmp, const POINT& phase) argument
353 SetBrushOrgEx(hdc, destRect.left - phase.x, destRect.top - phase.y, &oldOrg);
354 FillRect(hdc, &destRect, hBrush.get());
355 SetBrushOrgEx(hdc, oldOrg.x, oldOrg.y, 0);
358 static void drawPatternSimple(HDC hdc, cons argument
410 drawPattern(HDC hdc, const AffineTransform& transform, const FloatRect& tileRectIn, const AffineTransform& patternTransform, const FloatPoint& phase, ColorSpace styleColorSpace, CompositeOperator op, const FloatRect& destRect, const IntSize& origSourceSize) argument
574 releaseDC(SharedBitmap*, HDC hdc, unsigned key1) argument
[all...]
/external/libpng/contrib/gregbook/
H A Drpng-win.c646 HDC hdc; local
656 hdc = BeginPaint(hwnd, &ps);
658 rc = StretchDIBits(hdc, 0, 0, image_width, image_height,
H A Drpng2-win.c767 HDC hdc = GetDC(global_hwnd); local
770 GetTextMetrics(hdc, &tm);
773 SetBkMode(hdc, TRANSPARENT);
774 SetTextColor(hdc, GetSysColor(COLOR_HIGHLIGHTTEXT));
776 TextOut(hdc, ((x < 0)? 0 : x), ((y < 0)? 0 : y), msg, len);
777 ReleaseDC(global_hwnd, hdc);
1190 HDC hdc; local
1200 hdc = BeginPaint(hwnd, &ps);
1201 rc = StretchDIBits(hdc, 0, 0, rpng2_info.width, rpng2_info.height,
/external/webkit/Source/WebCore/platform/graphics/
H A DGraphicsContext.h491 HDC hdc() const { return m_hdc; } function in class:WebCore::GraphicsContext::WindowsBitmap
/external/webkit/Source/WebCore/platform/graphics/chromium/
H A DFontChromiumWin.cpp308 HDC hdc() const { return m_hdc; } function in class:WebCore::__anon14663::TransparencyAwareUniscribePainter
497 HDC hdc = painter.hdc(); local
498 if (windowsCanHandleTextDrawing(graphicsContext) && !hdc)
504 if (hdc) {
505 SetTextColor(hdc, skia::SkColorToCOLORREF(color));
506 SetBkMode(hdc, TRANSPARENT);
517 COLORREF savedTextColor = GetTextColor(hdc);
518 SetTextColor(hdc, textColor);
519 state.draw(graphicsContext, hdc, static_cas
[all...]
H A DFontCacheChromiumWin.cpp288 HDC hdc = GetDC(0); local
289 HGDIOBJ oldFont = static_cast<HFONT>(SelectObject(hdc, hfont));
290 int count = GetFontUnicodeRanges(hdc, 0);
292 count = GetFontUnicodeRanges(hdc, 0);
295 SelectObject(hdc, oldFont);
296 ReleaseDC(0, hdc);
301 glyphsetBuffer.resize(GetFontUnicodeRanges(hdc, 0));
305 count = GetFontUnicodeRanges(hdc, glyphset);
307 SelectObject(hdc, oldFont);
308 ReleaseDC(0, hdc);
594 HDC hdc = GetDC(0); local
[all...]
/external/webkit/Source/WebCore/platform/graphics/skia/
H A DSkiaFontWin.cpp182 const SkPath* SkiaWinOutlineCache::lookupOrCreatePathForGlyph(HDC hdc, HFONT font, WORD glyph) argument
195 if (!getPathForGlyph(hdc, glyph, key.path))
/external/webkit/Source/WebCore/platform/win/
H A DScrollbarThemeWin.cpp72 SOFT_LINK(uxtheme, DrawThemeBackground, HRESULT, WINAPI, (HANDLE hTheme, HDC hdc, int iPartId, int iStateId, const RECT* pRect, const RECT* pClipRect), (hTheme, hdc, iPartId, iStateId, pRect, pClipRect))
249 DrawThemeBackground(scrollbarTheme, windowsContext.hdc(), part, state, &themeRect, 0);
254 HDC hdc = windowsContext.hdc(); local
256 ::FillRect(hdc, &themeRect, HBRUSH(COLOR_SCROLLBAR+1));
261 SaveDC(hdc);
262 ::SetTextColor(hdc, ::GetSysColor(COLOR_3DHILIGHT));
263 ::SetBkColor(hdc, ::GetSysColor(COLOR_3DFACE));
264 ::SetBrushOrgEx(hdc, rec
332 paintGripper(Scrollbar* scrollbar, HDC hdc, const IntRect& rect) argument
368 HDC hdc = context->getWindowsContext(rect, alphaBlend); local
[all...]
H A DPopupMenuWin.cpp560 void PopupMenuWin::paint(const IntRect& damageRect, HDC hdc) argument
659 HDC localDC = hdc ? hdc : ::GetDC(m_popup);
663 if (!hdc)
1003 paint(paintInfo.rcPaint, paintInfo.hdc);
/external/qemu/distrib/sdl-1.2.15/src/video/wincommon/
H A DSDL_sysevents.c94 void (*WIN_WinPAINT)(_THIS, HDC hdc);
641 HDC hdc; local
644 hdc = BeginPaint(SDL_Window, &ps);
647 WIN_WinPAINT(current_video, hdc);
/external/webkit/Source/WebCore/platform/graphics/win/
H A DFontCacheWin.cpp73 static int CALLBACK metaFileEnumProc(HDC hdc, HANDLETABLE* table, CONST ENHMETARECORD* record, int tableEntries, LPARAM logFont) argument
160 static bool currentFontContainsCharacter(HDC hdc, UChar character) argument
163 glyphsetBuffer.resize(GetFontUnicodeRanges(hdc, 0));
165 GetFontUnicodeRanges(hdc, glyphset);
175 static HFONT createMLangFont(IMLangFontLink2* langFontLink, HDC hdc, DWORD codePageMask, UChar character = 0) argument
179 if (SUCCEEDED(langFontLink->MapFont(hdc, codePageMask, character, &MLangFont)) && MLangFont) {
192 HDC hdc = GetDC(0); local
194 HGDIOBJ oldFont = SelectObject(hdc, primaryFont);
209 hfont = createMLangFont(langFontLink, hdc, CJKCodePageMasks[i]);
213 SelectObject(hdc, hfon
450 HDC hdc = GetDC(0); local
537 HDC hdc = GetDC(0); local
[all...]
H A DQTMovieGWorld.cpp350 void QTMovieGWorld::paint(HDC hdc, int x, int y) argument
365 AlphaBlend(hdc, x, y, m_private->m_width, m_private->m_height, hdcSrc,
H A DMediaPlayerPrivateQuickTimeWin.cpp607 HDC hdc = p->getWindowsContext(r); local
608 if (!hdc) {
613 hdc = bitmap->hdc();
623 SetWorldTransform(hdc, &xform);
626 m_qtGWorld->paint(hdc, r.x(), r.y());
630 p->releaseWindowsContext(hdc, r);
/external/webkit/Source/WebCore/plugins/win/
H A DPluginViewWin.cpp159 lpPaint->hdc = pluginView->m_wmPrintHDC;
521 void PluginView::paintIntoTransformedContext(HDC hdc) argument
525 SendMessage(platformPluginWidget(), WM_PRINTCLIENT, reinterpret_cast<WPARAM>(hdc), PRF_CLIENT | PRF_CHILDREN | PRF_OWNED);
531 m_npWindow.window = hdc;
552 npEvent.wParam = reinterpret_cast<uintptr_t>(hdc);
579 HDC hdc = windowsContext.hdc(); local
581 GetWorldTransform(hdc, &originalTransform);
589 SetWorldTransform(hdc, &transform);
591 paintIntoTransformedContext(hdc);
[all...]
/external/libpng/contrib/visupng/
H A DVisualPng.c149 static HDC hdc; local
406 hdc = BeginPaint (hwnd, &ps);
409 SetDIBitsToDevice (hdc, 0, 0, cxWinSize, cyWinSize, 0, 0,
/external/qemu/distrib/sdl-1.2.15/src/video/gapi/
H A DSDL_gapivideo.c107 static void GAPI_WinPAINT(_THIS, HDC hdc);
162 HDC hdc = GetDC(NULL); local
163 int result = ExtEscape(hdc, GETRAWFRAMEBUFFER, 0, NULL, sizeof(RawFrameBufferInfo), (char *)&g_RawFrameBufferInfo);
164 ReleaseDC(NULL, hdc);
416 HDC hdc = GetDC(NULL); local
420 result = ExtEscape(hdc, GETGXINFO, 0, NULL, sizeof(gxInfo), (char *)&gxInfo);
496 HDC hdc; local
516 hdc = GetDC(0);
518 SelectPalette( hdc, hPalette, FALSE );
519 RealizePalette( hdc );
1231 GAPI_WinPAINT(_THIS, HDC hdc) argument
[all...]
/external/qemu/distrib/sdl-1.2.15/src/video/windib/
H A DSDL_dibvideo.c116 static void DIB_WinPAINT(_THIS, HDC hdc);
307 HDC hdc; local
315 hdc = GetDC(SDL_Window);
316 GetSystemPaletteEntries(hdc, 0, ncolors, palette->palPalEntry);
317 ReleaseDC(SDL_Window, hdc);
463 HDC hdc; local
465 hdc = GetDC(SDL_Window);
466 depth = GetDeviceCaps(hdc, PLANES) * GetDeviceCaps(hdc, BITSPIXEL);
467 ReleaseDC(SDL_Window, hdc);
610 HDC hdc; local
961 HDC hdc, mdc; local
1017 HDC hdc, mdc; local
1089 HDC hdc; local
1104 HDC hdc; local
1126 HDC hdc; local
1259 HDC hdc; local
1272 HDC hdc; local
1294 HDC hdc; local
1315 DIB_WinPAINT(_THIS, HDC hdc) argument
[all...]
/external/qemu/distrib/sdl-1.2.15/src/video/windx5/
H A DSDL_dx5video.c449 static void DX5_WinPAINT(_THIS, HDC hdc);
915 HDC hdc; local
953 hdc = GetDC(SDL_Window);
954 vformat->BitsPerPixel = GetDeviceCaps(hdc,PLANES) *
955 GetDeviceCaps(hdc,BITSPIXEL);
956 ReleaseDC(SDL_Window, hdc);
2486 HDC hdc; local
2502 hdc = GetDC(window);
2503 GetSystemPaletteEntries(hdc, 0, palette->ncolors, entries);
2504 ReleaseDC(window, hdc);
2534 DX5_WinPAINT(_THIS, HDC hdc) argument
[all...]
/external/quake/quake/src/QW/client/
H A Din_win.c424 HDC hdc; local
583 HDC hdc; local
753 HDC hdc; local
/external/quake/quake/src/WinQuake/
H A Din_win.cpp425 HDC hdc; local
584 HDC hdc; local
757 HDC hdc; local
/external/webkit/Source/WebCore/platform/graphics/wx/
H A DGraphicsContextWx.cpp651 void GraphicsContext::releaseWindowsContext(HDC hdc, const IntRect& dstRect, bool supportAlphaBlend, bool mayCreateBitmap) argument
653 if (hdc) {
657 HBITMAP bitmap = static_cast<HBITMAP>(GetCurrentObject(hdc, OBJ_BITMAP));
673 ::DeleteDC(hdc);
/external/webkit/Source/WebCore/rendering/
H A DRenderThemeChromiumWin.cpp180 HDC hdc = GetDC(0); // What about printing? Is this the right DC? local
181 if (hdc) {
182 HGDIOBJ hObject = SelectObject(hdc, hFont);
184 GetTextMetrics(hdc, &tm);
185 SelectObject(hdc, hObject);
186 ReleaseDC(0, hdc);
211 HDC hdc = GetDC(0); // What about printing? Is this the right DC? local
212 if (hdc) { // Can this ever actually be NULL?
213 pixelsPerInch = GetDeviceCaps(hdc, LOGPIXELSY);
214 ReleaseDC(0, hdc);
[all...]
/external/webkit/Source/WebKit2/UIProcess/win/
H A DWebPopupMenuProxyWin.cpp755 paint(paintStruct.rcPaint, paintStruct.hdc);
765 HDC hdc = reinterpret_cast<HDC>(wParam); local
766 paint(clientRect(), hdc); local
805 void WebPopupMenuProxyWin::paint(const IntRect& damageRect, HDC hdc) argument
851 HDC localDC = hdc ? hdc : ::GetDC(m_popup);
855 if (!hdc)
/external/webkit/Tools/DumpRenderTree/win/
H A DUIDelegate.cpp647 HRESULT STDMETHODCALLTYPE UIDelegate::drawBackground(IWebView* sender, OLE_HANDLE hdc, const RECT* dirtyRect) argument

Completed in 297 milliseconds

123