Home
last modified time | relevance | path

Searched refs:m_hDC (Results 1 – 6 of 6) sorted by relevance

/external/pdfium/core/fxge/win32/
Dfx_win32_device.cpp342 const HDC m_hDC; member in __anon432480ef0111::CFX_Win32FontInfo
358 CFX_Win32FontInfo::CFX_Win32FontInfo() : m_hDC(CreateCompatibleDC(nullptr)) {} in CFX_Win32FontInfo()
361 DeleteDC(m_hDC); in ~CFX_Win32FontInfo()
434 EnumFontFamiliesExA(m_hDC, &lf, (FONTENUMPROCA)FontEnumProc, (uintptr_t)this, in EnumFontList()
579 HFONT hOldFont = (HFONT)::SelectObject(m_hDC, hFont); in MapFont()
580 ::GetTextFaceA(m_hDC, 100, facebuf); in MapFont()
581 ::SelectObject(m_hDC, hOldFont); in MapFont()
632 HFONT hOldFont = (HFONT)::SelectObject(m_hDC, (HFONT)hFont); in GetFontData()
634 uint32_t size = ::GetFontData(m_hDC, table, 0, buffer.data(), buffer.size()); in GetFontData()
635 ::SelectObject(m_hDC, hOldFont); in GetFontData()
[all …]
Dfx_win32_print.cpp32 : m_hDC(hDC), in ScopedState()
33 m_iState(SaveDC(m_hDC)), in ScopedState()
34 m_hFont(SelectObject(m_hDC, hFont)) {} in ScopedState()
40 HGDIOBJ hFont = SelectObject(m_hDC, m_hFont); in ~ScopedState()
42 RestoreDC(m_hDC, m_iState); in ~ScopedState()
46 const HDC m_hDC; member in __anon937f184c0111::ScopedState
61 m_HorzSize(::GetDeviceCaps(m_hDC, HORZSIZE)), in CGdiPrinterDriver()
62 m_VertSize(::GetDeviceCaps(m_hDC, VERTSIZE)) {} in CGdiPrinterDriver()
248 ScopedState state(m_hDC, hFont); in DrawDeviceText()
249 size_t nTextMetricSize = GetOutlineTextMetrics(m_hDC, 0, nullptr); in DrawDeviceText()
[all …]
Dfx_win32_device_embeddertest.cpp24 m_hDC = CreateCompatibleDC(nullptr); in SetUp()
25 ASSERT_TRUE(m_hDC); in SetUp()
27 m_driver = pdfium::MakeUnique<CFX_WindowsRenderDevice>(m_hDC, nullptr); in SetUp()
35 DeleteDC(m_hDC); in TearDown()
39 HDC m_hDC; member in CFX_WindowsRenderDeviceTest
Dcpsoutput.cpp14 CPSOutput::CPSOutput(HDC hDC, OutputMode mode) : m_hDC(hDC), m_mode(mode) {} in CPSOutput()
28 ExtEscape(m_hDC, PASSTHROUGH, send_len + 2, in WriteBlock()
32 GdiComment(m_hDC, send_len + 2, buffer); in WriteBlock()
Dcpsoutput.h27 const HDC m_hDC;
Dwin32_int.h127 const HDC m_hDC; variable
280 HDC m_hDC; variable
344 HDC m_hDC; variable