HomeSort by relevance Sort by last modified time
    Searched refs:hdc (Results 1 - 25 of 94) sorted by null

1 2 3 4

  /external/webkit/Source/WebCore/platform/graphics/win/
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);
SimpleFontDataCairoWin.cpp 55 HDC hdc = GetDC(0);
56 SaveDC(hdc);
61 cairo_win32_scaled_font_select_font(scaledFont, hdc);
64 GetTextMetrics(hdc, &textMetrics);
77 if (GetOutlineTextMetrics(hdc, sizeof(metrics), &metrics) > 0) {
81 DWORD len = GetGlyphOutline(hdc, 'x', GGO_METRICS, &gm, 0, 0, &mat);
93 RestoreDC(hdc, -1);
94 ReleaseDC(0, hdc);
115 HDC hdc = GetDC(0)
    [all...]
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);
160 HDC dc = GetDC(0);
191 HDC dc = GetDC(0);
207 HDC hdc = GetDC(0) local
224 HDC hdc = GetDC(0); local
    [all...]
GraphicsContextCairoWin.cpp 39 static cairo_t* createCairoContextWithHDC(HDC hdc, bool hasAlpha)
41 // Put the HDC In advanced mode so it will honor affine transforms.
42 SetGraphicsMode(hdc, GM_ADVANCED);
46 HBITMAP bitmap = static_cast<HBITMAP>(GetCurrentObject(hdc, OBJ_BITMAP));
50 surface = cairo_win32_surface_create(hdc);
67 GraphicsContext::GraphicsContext(HDC dc, bool hasAlpha)
73 void GraphicsContext::platformInit(HDC dc, bool hasAlpha)
123 void GraphicsContext::releaseWindowsContext(HDC hdc, const IntRect& dstRect, bool supportAlphaBlend, bool mayCreateBitmap
    [all...]
GraphicsContextCGWin.cpp 40 static CGContextRef CGContextWithHDC(HDC hdc, bool hasAlpha)
42 HBITMAP bitmap = static_cast<HBITMAP>(GetCurrentObject(hdc, OBJ_BITMAP));
63 // Put the HDC In advanced mode so it will honor affine transforms.
64 SetGraphicsMode(hdc, GM_ADVANCED);
69 GraphicsContext::GraphicsContext(HDC hdc, bool hasAlpha)
72 platformInit(hdc, hasAlpha);
75 void GraphicsContext::platformInit(HDC hdc, bool hasAlpha
    [all...]
FontCacheWin.cpp 73 static int CALLBACK metaFileEnumProc(HDC hdc, HANDLETABLE* table, CONST ENHMETARECORD* record, int tableEntries, LPARAM logFont)
160 static bool currentFontContainsCharacter(HDC hdc, UChar character)
163 glyphsetBuffer.resize(GetFontUnicodeRanges(hdc, 0));
165 GetFontUnicodeRanges(hdc, glyphset);
175 static HFONT createMLangFont(IMLangFontLink2* langFontLink, HDC hdc, DWORD codePageMask, UChar character = 0)
179 if (SUCCEEDED(langFontLink->MapFont(hdc, codePageMask, character, &MLangFont)) && MLangFont) {
192 HDC hdc = GetDC(0) local
450 HDC hdc = GetDC(0); local
537 HDC hdc = GetDC(0); local
    [all...]
LocalWindowsContext.h 51 HDC hdc() const { return m_hdc; } function in class:WebCore::LocalWindowsContext
55 HDC m_hdc;
FontCGWin.cpp 50 static CGPathRef createPathForGlyph(HDC hdc, Glyph glyph)
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();
    [all...]
  /external/webkit/Source/WebKit2/WebProcess/WebPage/win/
ChunkedUpdateDrawingAreaWin.cpp 40 OwnPtr<HDC> hdc(::CreateCompatibleDC(0));
46 HBITMAP hbmpOld = static_cast<HBITMAP>(::SelectObject(hdc.get(), hbmp.get()));
48 GraphicsContext gc(hdc.get());
53 ::FillRect(hdc.get(), &rect, (HBRUSH)::GetStockObject(WHITE_BRUSH));
61 ::SelectObject(hdc.get(), hbmpOld);
  /external/skia/legacy/include/utils/
SkWGL.h 68 bool hasExtension(HDC dc, const char* ext) const;
70 const char* getExtensionsString(HDC hdc) const;
71 BOOL choosePixelFormat(HDC hdc, const int*, const FLOAT*, UINT, int*, UINT*) const;
72 BOOL getPixelFormatAttribiv(HDC, int, int, UINT, const int*, int*) const;
73 BOOL getPixelFormatAttribfv(HDC hdc, int, int, UINT, const int*, FLOAT*) const;
74 HGLRC createContextAttribs(HDC, HGLRC, const int *) const;
77 typedef const char* (WINAPI *GetExtensionsStringProc)(HDC hdc)
    [all...]
  /external/webkit/Source/WebCore/platform/wx/wxcode/win/
non-kerned-drawing.cpp 80 // get the native HDC handle to draw using native APIs
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)
    [all...]
  /external/skia/include/utils/
SkWGL.h 70 bool hasExtension(HDC dc, const char* ext) const;
72 const char* getExtensionsString(HDC hdc) const;
73 BOOL choosePixelFormat(HDC hdc, const int*, const FLOAT*, UINT, int*, UINT*) const;
74 BOOL getPixelFormatAttribiv(HDC, int, int, UINT, const int*, int*) const;
75 BOOL getPixelFormatAttribfv(HDC hdc, int, int, UINT, const int*, FLOAT*) const;
76 HGLRC createContextAttribs(HDC, HGLRC, const int *) const;
93 HDC dc
    [all...]
  /external/icu4c/samples/layout/
gdiglue.h 26 rs_surface *rs_gdiRenderingSurfaceOpen(HDC hdc);
27 void rs_gdiRenderingSurfaceSetHDC(rs_surface *surface, HDC hdc);
GDIFontInstance.cpp 24 GDISurface::GDISurface(HDC theHDC)
35 void GDISurface::setHDC(HDC theHDC)
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)
198 HDC hdc = surface->getHDC(); local
344 HDC hdc = fSurface->getHDC(); local
370 HDC hdc = fSurface->getHDC(); local
    [all...]
gdiglue.cpp 37 rs_surface *rs_gdiRenderingSurfaceOpen(HDC hdc)
39 return (rs_surface *) new GDISurface(hdc);
42 void rs_gdiRenderingSurfaceSetHDC(rs_surface *surface, HDC hdc)
46 rs->setHDC(hdc);
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)
    [all...]
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)
    [all...]
  /external/qemu/distrib/sdl-1.2.15/src/video/windib/
SDL_dibvideo.c 116 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)
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
    [all...]
  /external/webkit/Source/WebCore/platform/win/
ScrollbarThemeWin.cpp 72 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))
368 HDC hdc = context->getWindowsContext(rect, alphaBlend); local
    [all...]
  /external/chromium/chrome/browser/ui/webui/options/
font_settings_utils_win.cc 36 HDC hdc = ::GetDC(NULL); local
37 ::EnumFontFamiliesExW(hdc, &logfont, (FONTENUMPROCW)&EnumFontFamExProc,
39 ::ReleaseDC(NULL, hdc);
  /external/quake/quake/src/QW/dxsdk/sdk/inc/
d3drmwin.h 41 STDMETHOD(HandlePaint)(THIS_ HDC hdc) PURE;
  /external/quake/quake/src/WinQuake/dxsdk/SDK/INC/
D3DRMWIN.H 41 STDMETHOD(HandlePaint)(THIS_ HDC hdc) PURE;
  /external/webkit/Source/WebCore/page/win/
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/skia/src/utils/win/
SkWGL_win.cpp 14 bool SkWGLExtensions::hasExtension(HDC dc, const char* ext) const {
38 const char* SkWGLExtensions::getExtensionsString(HDC hdc) const {
39 return fGetExtensionsString(hdc);
42 BOOL SkWGLExtensions::choosePixelFormat(HDC hdc,
48 return fChoosePixelFormat(hdc, piAttribIList, pfAttribFList,
52 BOOL SkWGLExtensions::getPixelFormatAttribiv(HDC hdc,
58 return fGetPixelFormatAttribiv(hdc, iPixelFormat, iLayerPlane
    [all...]
  /external/webkit/Source/WebCore/platform/graphics/wx/
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);

Completed in 1893 milliseconds

1 2 3 4