Searched refs:screen_dc (Results 1 – 6 of 6) sorted by relevance
/external/chromium_org/ui/gfx/ |
D | color_profile_win.cc | 15 HDC screen_dc = GetDC(NULL); in ReadColorProfile() local 19 BOOL res = GetICMProfile(screen_dc, &path_len, path); in ReadColorProfile() 20 ReleaseDC(NULL, screen_dc); in ReadColorProfile()
|
D | platform_font_win.cc | 241 base::win::ScopedGetDC screen_dc(NULL); in CreateHFontRef() local 242 base::win::ScopedSelectObject scoped_font(screen_dc, font); in CreateHFontRef() 243 gfx::ScopedSetMapMode mode(screen_dc, MM_TEXT); in CreateHFontRef() 244 GetTextMetrics(screen_dc, &font_metrics); in CreateHFontRef() 301 base::win::ScopedGetDC screen_dc(NULL); in GetDluBaseX() local 302 base::win::ScopedSelectObject font(screen_dc, hfont_); in GetDluBaseX() 303 gfx::ScopedSetMapMode mode(screen_dc, MM_TEXT); in GetDluBaseX() 308 GetTextExtentPoint32(screen_dc, in GetDluBaseX()
|
/external/chromium_org/sandbox/win/sandbox_poc/pocdll/ |
D | spyware.cc | 54 HDC screen_dc = ::GetDC(NULL); in TestSpyScreen() local 55 COLORREF pixel_color = ::GetPixel(screen_dc, 0, 0); in TestSpyScreen() 59 if (::GetPixel(screen_dc, x, y) != pixel_color) { in TestSpyScreen()
|
/external/chromium_org/ui/gfx/win/ |
D | dpi.cc | 75 base::win::ScopedGetDC screen_dc(NULL); in GetDPI() local 79 dpi_x = GetDeviceCaps(screen_dc, LOGPIXELSX); in GetDPI() 80 dpi_y = GetDeviceCaps(screen_dc, LOGPIXELSY); in GetDPI()
|
/external/chromium_org/content/browser/renderer_host/ |
D | backing_store_win.cc | 58 HDC screen_dc = ::GetDC(NULL); in BackingStoreWin() local 59 color_depth_ = ::GetDeviceCaps(screen_dc, BITSPIXEL); in BackingStoreWin() 65 hdc_ = CreateCompatibleDC(screen_dc); in BackingStoreWin() 66 ReleaseDC(NULL, screen_dc); in BackingStoreWin()
|
/external/chromium_org/ui/base/dragdrop/ |
D | drag_utils_win.cc | 43 base::win::ScopedGetDC screen_dc(NULL); in CreateHBITMAPFromSkBitmap() local 48 CreateDIBSection(screen_dc, reinterpret_cast<BITMAPINFO*>(&header), in CreateHBITMAPFromSkBitmap()
|