OLD | NEW |
1 // Copyright 2014 PDFium Authors. All rights reserved. | 1 // Copyright 2014 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_SRC_FXGE_WIN32_DWRITE_INT_H_ | 7 #ifndef CORE_FXGE_WIN32_DWRITE_INT_H_ |
8 #define CORE_SRC_FXGE_WIN32_DWRITE_INT_H_ | 8 #define CORE_FXGE_WIN32_DWRITE_INT_H_ |
9 | 9 |
10 #ifndef DECLSPEC_UUID | 10 #ifndef DECLSPEC_UUID |
11 #if (_MSC_VER >= 1100) && defined(__cplusplus) | 11 #if (_MSC_VER >= 1100) && defined(__cplusplus) |
12 #define DECLSPEC_UUID(x) __declspec(uuid(x)) | 12 #define DECLSPEC_UUID(x) __declspec(uuid(x)) |
13 #else | 13 #else |
14 #define DECLSPEC_UUID(x) | 14 #define DECLSPEC_UUID(x) |
15 #endif | 15 #endif |
16 #endif | 16 #endif |
17 #ifndef DECLSPEC_NOVTABLE | 17 #ifndef DECLSPEC_NOVTABLE |
18 #if (_MSC_VER >= 1100) && defined(__cplusplus) | 18 #if (_MSC_VER >= 1100) && defined(__cplusplus) |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 FX_FLOAT* glyph_advances); | 56 FX_FLOAT* glyph_advances); |
57 void DwDeleteFont(void* pFont); | 57 void DwDeleteFont(void* pFont); |
58 | 58 |
59 protected: | 59 protected: |
60 void* m_hModule; | 60 void* m_hModule; |
61 void* m_pDWriteFactory; | 61 void* m_pDWriteFactory; |
62 void* m_pDwFontContext; | 62 void* m_pDwFontContext; |
63 void* m_pDwTextRenderer; | 63 void* m_pDwTextRenderer; |
64 }; | 64 }; |
65 | 65 |
66 #endif // CORE_SRC_FXGE_WIN32_DWRITE_INT_H_ | 66 #endif // CORE_FXGE_WIN32_DWRITE_INT_H_ |
OLD | NEW |