OLD | NEW |
1 // Copyright 2016 PDFium Authors. All rights reserved. | 1 // Copyright 2016 PDFium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com | 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
6 | 6 |
7 #ifndef CORE_FXGE_INCLUDE_CFX_WINDOWSDEVICE_H_ | 7 #ifndef CORE_FXGE_CFX_WINDOWSDEVICE_H_ |
8 #define CORE_FXGE_INCLUDE_CFX_WINDOWSDEVICE_H_ | 8 #define CORE_FXGE_CFX_WINDOWSDEVICE_H_ |
9 | 9 |
10 #ifdef _WIN32 | 10 #ifdef _WIN32 |
11 #ifndef _WINDOWS_ | 11 #ifndef _WINDOWS_ |
12 #include <windows.h> | 12 #include <windows.h> |
13 #endif | 13 #endif |
14 | 14 |
15 class IFX_RenderDeviceDriver; | 15 class IFX_RenderDeviceDriver; |
16 | 16 |
17 #if defined(PDFIUM_PRINT_TEXT_WITH_GDI) | 17 #if defined(PDFIUM_PRINT_TEXT_WITH_GDI) |
18 typedef void (*PDFiumEnsureTypefaceCharactersAccessible)(const LOGFONT* font, | 18 typedef void (*PDFiumEnsureTypefaceCharactersAccessible)(const LOGFONT* font, |
(...skipping 10 matching lines...) Expand all Loading... |
29 static IFX_RenderDeviceDriver* CreateDriver(HDC hDC); | 29 static IFX_RenderDeviceDriver* CreateDriver(HDC hDC); |
30 | 30 |
31 explicit CFX_WindowsDevice(HDC hDC); | 31 explicit CFX_WindowsDevice(HDC hDC); |
32 ~CFX_WindowsDevice() override; | 32 ~CFX_WindowsDevice() override; |
33 | 33 |
34 HDC GetDC() const; | 34 HDC GetDC() const; |
35 }; | 35 }; |
36 | 36 |
37 #endif // _WIN32 | 37 #endif // _WIN32 |
38 | 38 |
39 #endif // CORE_FXGE_INCLUDE_CFX_WINDOWSDEVICE_H_ | 39 #endif // CORE_FXGE_CFX_WINDOWSDEVICE_H_ |
OLD | NEW |