/external/chromium/chrome/browser/ui/webui/options/ |
H A D | font_settings_utils_win.cc | 36 HDC hdc = ::GetDC(NULL); local 37 ::EnumFontFamiliesExW(hdc, &logfont, (FONTENUMPROCW)&EnumFontFamExProc, 39 ::ReleaseDC(NULL, hdc);
|
/external/webkit/Source/WebCore/platform/graphics/win/ |
H A D | FontPlatformDataWin.cpp | 54 HDC hdc = GetDC(0); local 55 SaveDC(hdc); 57 SelectObject(hdc, font); 58 UINT bufferSize = GetOutlineTextMetrics(hdc, 0, NULL); 65 GetOutlineTextMetricsW(hdc, bufferSize, metrics); 68 platformDataInit(font, size, hdc, faceName); 73 RestoreDC(hdc, -1); 74 ReleaseDC(0, hdc);
|
H A D | LocalWindowsContext.h | 51 HDC hdc() const { return m_hdc; } function in class:WebCore::LocalWindowsContext
|
H A D | FontPlatformDataCairoWin.cpp | 41 void FontPlatformData::platformDataInit(HFONT font, float size, HDC hdc, WCHAR* faceName) argument
|
H A D | GraphicsContextCairoWin.cpp | 39 static cairo_t* createCairoContextWithHDC(HDC hdc, bool hasAlpha) argument 42 SetGraphicsMode(hdc, GM_ADVANCED); 46 HBITMAP bitmap = static_cast<HBITMAP>(GetCurrentObject(hdc, OBJ_BITMAP)); 50 surface = cairo_win32_surface_create(hdc); 123 void GraphicsContext::releaseWindowsContext(HDC hdc, const IntRect& dstRect, bool supportAlphaBlend, bool mayCreateBitmap) argument 126 if (!hdc || !createdBitmap) { 134 OwnPtr<HBITMAP> bitmap = adoptPtr(static_cast<HBITMAP>(GetCurrentObject(hdc, OBJ_BITMAP))); 148 ::DeleteDC(hdc);
|
H A D | FontPlatformDataCGWin.cpp | 110 void FontPlatformData::platformDataInit(HFONT font, float size, HDC hdc, WCHAR* faceName) argument
|
H A D | GraphicsContextWin.cpp | 66 GraphicsContext::WindowsBitmap::WindowsBitmap(HDC hdc, IntSize size) argument 76 m_hdc = CreateCompatibleDC(hdc);
|
H A D | FontCGWin.cpp | 50 static CGPathRef createPathForGlyph(HDC hdc, Glyph glyph) argument 58 DWORD outlineLength = GetGlyphOutline(hdc, glyph, GGO_GLYPH_INDEX | GGO_NATIVE, &glyphMetrics, 0, 0, &identity); 64 GetGlyphOutline(hdc, glyph, GGO_GLYPH_INDEX | GGO_NATIVE, &glyphMetrics, outlineLength, outline.data(), &identity); 161 HDC hdc = 0; local 165 hdc = graphicsContext->getWindowsContext(textRect, true, false); 166 if (!hdc) { 178 hdc = bitmap->hdc(); 187 SetWorldTransform(hdc, &xform); 190 SelectObject(hdc, fon [all...] |
H A D | GraphicsContextCGWin.cpp | 40 static CGContextRef CGContextWithHDC(HDC hdc, bool hasAlpha) argument 42 HBITMAP bitmap = static_cast<HBITMAP>(GetCurrentObject(hdc, OBJ_BITMAP)); 64 SetGraphicsMode(hdc, GM_ADVANCED); 69 GraphicsContext::GraphicsContext(HDC hdc, bool hasAlpha) argument 72 platformInit(hdc, hasAlpha); 75 void GraphicsContext::platformInit(HDC hdc, bool hasAlpha) argument 77 m_data = new GraphicsContextPlatformPrivate(CGContextWithHDC(hdc, hasAlpha)); 79 m_data->m_hdc = hdc; 90 void GraphicsContext::releaseWindowsContext(HDC hdc, const IntRect& dstRect, bool supportAlphaBlend, bool mayCreateBitmap) argument 101 OwnPtr<HBITMAP> bitmap = adoptPtr(static_cast<HBITMAP>(GetCurrentObject(hdc, OBJ_BITMA [all...] |
H A D | SimpleFontDataWin.cpp | 74 HDC hdc = GetDC(0); local 75 HGDIOBJ oldFont = SelectObject(hdc, m_platformData.hfont()); 77 GetOutlineTextMetrics(hdc, sizeof(metrics), &metrics); 92 DWORD len = GetGlyphOutline(hdc, 'x', GGO_METRICS, &gm, 0, 0, &mat); 99 SelectObject(hdc, oldFont); 100 ReleaseDC(0, hdc); 207 HDC hdc = GetDC(0); local 208 SetGraphicsMode(hdc, GM_ADVANCED); 209 HGDIOBJ oldFont = SelectObject(hdc, m_platformData.hfont()); 213 GetGlyphOutline(hdc, glyp 224 HDC hdc = GetDC(0); local [all...] |
H A D | UniscribeController.cpp | 251 HDC hdc = GetDC(0); local 253 HFONT oldFont = (HFONT)SelectObject(hdc, hfont); 254 placeResult = ScriptPlace(hdc, fontData->scriptCache(), glyphs.data(), glyphs.size(), visualAttributes.data(), 256 SelectObject(hdc, oldFont); 257 ReleaseDC(0, hdc); 383 HDC hdc = 0; local 388 shapeResult = ScriptShape(hdc, fontData->scriptCache(), str, len, glyphs.size(), &item.a, 393 ASSERT(!hdc); 394 hdc = GetDC(0); 396 oldFont = (HFONT)SelectObject(hdc, hfon [all...] |
/external/webkit/Source/WebKit2/UIProcess/win/ |
H A D | ChunkedUpdateDrawingAreaProxyWin.cpp | 68 bool ChunkedUpdateDrawingAreaProxy::platformPaint(const IntRect& rect, HDC hdc) argument 73 // BitBlt from the backing-store to the passed in hdc. 74 ::BitBlt(hdc, rect.x(), rect.y(), rect.width(), rect.height(), m_backingStoreDC.get(), rect.x(), rect.y(), SRCCOPY);
|
/external/openssl/apps/ |
H A D | winrand.c | 118 HDC hdc; local 126 hdc = BeginPaint(hwnd, &ps); 128 DrawText(hdc, "Seeding the PRNG. Please move the mouse!", -1,
|
/external/icu4c/samples/layout/ |
H A D | gdiglue.cpp | 37 rs_surface *rs_gdiRenderingSurfaceOpen(HDC hdc) argument 39 return (rs_surface *) new GDISurface(hdc); 42 void rs_gdiRenderingSurfaceSetHDC(rs_surface *surface, HDC hdc) argument 46 rs->setHDC(hdc);
|
H A D | GDIFontInstance.cpp | 113 HDC hdc = surface->getHDC(); local 119 SaveDC(hdc); 121 SetGraphicsMode(hdc, GM_ADVANCED); 122 ModifyWorldTransform(hdc, NULL, MWT_IDENTITY); 123 SetViewportOrgEx(hdc, 0, 0, NULL); 124 SetWindowOrgEx(hdc, 0, 0, NULL); 126 dpiX = (FLOAT) GetDeviceCaps(hdc, LOGPIXELSX); 127 dpiY = (FLOAT) GetDeviceCaps(hdc, LOGPIXELSY); 133 DPtoLP(hdc, &pt, 1); 161 SelectObject(hdc, fFon 198 HDC hdc = surface->getHDC(); local 344 HDC hdc = fSurface->getHDC(); local 370 HDC hdc = fSurface->getHDC(); local [all...] |
H A D | clayout.c | 120 HDC hdc; local 133 hdc = GetDC(hwnd); 135 surface = rs_gdiRenderingSurfaceOpen(hdc); 141 ReleaseDC(hwnd, hdc); 154 ReleaseDC(hwnd, hdc); 235 hdc = BeginPaint(hwnd, &ps); 236 SetBkMode(hdc, TRANSPARENT); 247 rs_gdiRenderingSurfaceSetHDC(surface, hdc); 296 hdc = GetDC(hwnd); 297 rs_gdiRenderingSurfaceSetHDC(surface, hdc); [all...] |
H A D | layout.cpp | 119 HDC hdc; local 132 hdc = GetDC(hwnd); 133 surface = new GDISurface(hdc); 139 ReleaseDC(hwnd, hdc); 152 ReleaseDC(hwnd, hdc); 233 hdc = BeginPaint(hwnd, &ps); 234 SetBkMode(hdc, TRANSPARENT); 245 surface->setHDC(hdc); 292 hdc = GetDC(hwnd); 293 surface->setHDC(hdc); [all...] |
/external/webkit/Source/WebCore/page/win/ |
H A D | FrameCGWin.cpp | 59 HDC hdc = CreateCompatibleDC(0); local 65 HBITMAP hbmpOld = static_cast<HBITMAP>(SelectObject(hdc, hbmp)); 75 SelectObject(hdc, hbmpOld); 76 DeleteDC(hdc);
|
/external/webkit/Source/WebCore/platform/graphics/wx/ |
H A D | SimpleFontDataWx.cpp | 187 HDC hdc = GetDC(0); local 188 HGDIOBJ oldFont = SelectObject(hdc, m_platformData.hfont()); 190 GetCharWidthI(hdc, glyph, 1, 0, &width); 191 SelectObject(hdc, oldFont); 192 ReleaseDC(0, hdc);
|
/external/chromium/webkit/glue/ |
H A D | webthemeengine_impl_win.cc | 386 HDC hdc = skia::BeginPlatformPaint(canvas); local 390 hdc, part, state, classic_state, &native_rect); 398 HDC hdc = skia::BeginPlatformPaint(canvas); local 402 hdc, state, classic_state, &native_rect); 410 HDC hdc = skia::BeginPlatformPaint(canvas); local 414 hdc, part, state, classic_state, &native_rect); 422 HDC hdc = skia::BeginPlatformPaint(canvas); local 427 hdc, part, state, classic_state, &native_rect, &native_align_rect, 436 HDC hdc = skia::BeginPlatformPaint(canvas); local 440 hdc, par 449 HDC hdc = skia::BeginPlatformPaint(canvas); local 464 HDC hdc = skia::BeginPlatformPaint(canvas); local 477 HDC hdc = skia::BeginPlatformPaint(canvas); local [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/wincommon/ |
H A D | SDL_wingl.c | 117 HDC hdc; local 129 hdc = GetDC(hwnd); 131 SetPixelFormat(hdc, ChoosePixelFormat(hdc, &GL_pfd), &GL_pfd); 133 hglrc = this->gl_data->wglCreateContext(hdc); 135 this->gl_data->wglMakeCurrent(hdc, hglrc); 142 extensions = wglGetExtensionsStringARB(hdc); 149 BOOL (WINAPI *wglChoosePixelFormatARB)(HDC hdc, const int *piAttribIList, const FLOAT *pfAttribFList, UINT nMaxFormats, int *piFormats, UINT *nNumFormats); 154 wglChoosePixelFormatARB(hdc, iAttribs, fAttribs, 1, &pformat, &matches) && pformat ) { 163 ReleaseDC(hwnd, hdc); [all...] |
/external/webkit/Source/WebCore/platform/wx/wxcode/win/ |
H A D | non-kerned-drawing.cpp | 81 HDC hdc = 0; local 96 hdc = g->GetHDC(); 101 hdc = static_cast<HDC>(dc->GetHDC()); 115 ::SelectObject(hdc, GetHfontOf(*wxfont)); 118 ::SetTextColor(hdc, color.GetPixel()); 121 ::SetBkMode(hdc, TRANSPARENT); 125 ::ExtTextOut(hdc, x, y, ETO_GLYPH_INDEX, 0, reinterpret_cast<const WCHAR*>(glyphs), numGlyphs, spacing); 127 ::SetBkMode(hdc, TRANSPARENT); 130 g->ReleaseHDC(hdc);
|
/external/webkit/Source/WebKit/win/ |
H A D | WebNodeHighlight.cpp | 137 HDC hdc = ::CreateCompatibleDC(::GetDC(m_overlay)); local 138 if (!hdc) 151 OwnPtr<HBITMAP> hbmp(::CreateDIBSection(hdc, &bitmapInfo, DIB_RGB_COLORS, &pixels, 0, 0)); 153 ::SelectObject(hdc, hbmp.get()); 155 GraphicsContext context(hdc); 173 ::UpdateLayeredWindow(m_overlay, ::GetDC(0), &dstPoint, &size, hdc, &srcPoint, 0, &bf, ULW_ALPHA); 175 ::DeleteDC(hdc);
|
/external/webkit/Source/JavaScriptCore/wtf/wince/ |
H A D | MemoryManager.cpp | 52 HBITMAP MemoryManager::createCompatibleBitmap(HDC hdc, int width, int height) argument 54 return ::CreateCompatibleBitmap(hdc, width, height);
|
/external/webkit/Source/WebCore/platform/graphics/wince/ |
H A D | FontCacheWinCE.cpp | 77 static bool currentFontContainsCharacter(IMLangFontLink2* langFontLink, HDC hdc, UChar character) argument 80 if (S_OK != langFontLink->GetFontUnicodeRanges(hdc, &unicodeRanges, 0)) 86 if (S_OK != langFontLink->GetFontUnicodeRanges(hdc, &unicodeRanges, glyphsetBuffer.data())) 98 static bool currentFontContainsCharacter(IMLangFontLink* langFontLink, HDC hdc, HFONT hfont, UChar character, const wchar_t* faceName) argument 101 HRESULT result = langFontLink->GetFontCodePages(hdc, hfont, &fontCodePages); 117 static HFONT createMLangFont(IMLangFontLink2* langFontLink, HDC hdc, DWORD codePageMask, UChar character = 0) argument 120 if (SUCCEEDED(langFontLink->MapFont(hdc, codePageMask, character, &mlangFont))) 126 static HFONT createMLangFont(IMLangFontLink* langFontLink, HDC hdc, const FontPlatformData& refFont, DWORD codePageMask) argument 129 LRESULT result = langFontLink->MapFont(hdc, codePageMask, refFont.hfont(), &mlangFont);
|