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 _FX_DIRECT_WRITE_ | 7 #ifndef DWRITE_INT_H_ |
8 #define _FX_DIRECT_WRITE_ | 8 #define DWRITE_INT_H_ |
| 9 |
9 #ifndef DECLSPEC_UUID | 10 #ifndef DECLSPEC_UUID |
10 #if (_MSC_VER >= 1100) && defined (__cplusplus) | 11 #if (_MSC_VER >= 1100) && defined (__cplusplus) |
11 #define DECLSPEC_UUID(x) __declspec(uuid(x)) | 12 #define DECLSPEC_UUID(x) __declspec(uuid(x)) |
12 #else | 13 #else |
13 #define DECLSPEC_UUID(x) | 14 #define DECLSPEC_UUID(x) |
14 #endif | 15 #endif |
15 #endif | 16 #endif |
16 #ifndef DECLSPEC_NOVTABLE | 17 #ifndef DECLSPEC_NOVTABLE |
17 #if (_MSC_VER >= 1100) && defined(__cplusplus) | 18 #if (_MSC_VER >= 1100) && defined(__cplusplus) |
18 #define DECLSPEC_NOVTABLE __declspec(novtable) | 19 #define DECLSPEC_NOVTABLE __declspec(novtable) |
(...skipping 30 matching lines...) Expand all Loading... |
49 void* glyph_offsets, | 50 void* glyph_offsets, |
50 FX_FLOAT* glyph_advances); | 51 FX_FLOAT* glyph_advances); |
51 void DwDeleteFont(void* pFont); | 52 void DwDeleteFont(void* pFont); |
52 | 53 |
53 protected: | 54 protected: |
54 void* m_hModule; | 55 void* m_hModule; |
55 void* m_pDWriteFactory; | 56 void* m_pDWriteFactory; |
56 void* m_pDwFontContext; | 57 void* m_pDwFontContext; |
57 void* m_pDwTextRenderer; | 58 void* m_pDwTextRenderer; |
58 }; | 59 }; |
59 #endif | 60 |
| 61 #endif // DWRITE_INT_H_ |
OLD | NEW |