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_GE_TEXT_INT_H_ | 7 #ifndef CORE_SRC_FXGE_GE_TEXT_INT_H_ |
8 #define CORE_SRC_FXGE_GE_TEXT_INT_H_ | 8 #define CORE_SRC_FXGE_GE_TEXT_INT_H_ |
9 | 9 |
10 #include "../../../include/fxge/fx_freetype.h" | 10 #include "core/include/fxge/fx_font.h" |
| 11 #include "core/include/fxge/fx_freetype.h" |
11 | 12 |
12 struct _CFX_UniqueKeyGen { | 13 struct _CFX_UniqueKeyGen { |
13 void Generate(int count, ...); | 14 void Generate(int count, ...); |
14 FX_CHAR m_Key[128]; | 15 FX_CHAR m_Key[128]; |
15 int m_KeyLen; | 16 int m_KeyLen; |
16 }; | 17 }; |
17 class CFX_SizeGlyphCache { | 18 class CFX_SizeGlyphCache { |
18 public: | 19 public: |
19 CFX_SizeGlyphCache() { m_GlyphMap.InitHashTable(253); } | 20 CFX_SizeGlyphCache() { m_GlyphMap.InitHashTable(253); } |
20 ~CFX_SizeGlyphCache(); | 21 ~CFX_SizeGlyphCache(); |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 const CFX_ByteString m_FilePath; | 70 const CFX_ByteString m_FilePath; |
70 const CFX_ByteString m_FaceName; | 71 const CFX_ByteString m_FaceName; |
71 const CFX_ByteString m_FontTables; | 72 const CFX_ByteString m_FontTables; |
72 const FX_DWORD m_FontOffset; | 73 const FX_DWORD m_FontOffset; |
73 const FX_DWORD m_FileSize; | 74 const FX_DWORD m_FileSize; |
74 FX_DWORD m_Styles; | 75 FX_DWORD m_Styles; |
75 FX_DWORD m_Charsets; | 76 FX_DWORD m_Charsets; |
76 }; | 77 }; |
77 | 78 |
78 #endif // CORE_SRC_FXGE_GE_TEXT_INT_H_ | 79 #endif // CORE_SRC_FXGE_GE_TEXT_INT_H_ |
OLD | NEW |