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_FXGE_GE_FX_TEXT_INT_H_ | 7 #ifndef CORE_FXGE_GE_FX_TEXT_INT_H_ |
8 #define CORE_FXGE_GE_FX_TEXT_INT_H_ | 8 #define CORE_FXGE_GE_FX_TEXT_INT_H_ |
9 | 9 |
10 #include <map> | 10 #include <map> |
11 | 11 |
12 #include "core/fxge/include/fx_font.h" | 12 #include "core/fxge/fx_font.h" |
13 #include "core/fxge/include/fx_freetype.h" | 13 #include "core/fxge/fx_freetype.h" |
14 | 14 |
15 struct _CFX_UniqueKeyGen { | 15 struct _CFX_UniqueKeyGen { |
16 void Generate(int count, ...); | 16 void Generate(int count, ...); |
17 FX_CHAR m_Key[128]; | 17 FX_CHAR m_Key[128]; |
18 int m_KeyLen; | 18 int m_KeyLen; |
19 }; | 19 }; |
20 | 20 |
21 class CFX_SizeGlyphCache { | 21 class CFX_SizeGlyphCache { |
22 public: | 22 public: |
23 CFX_SizeGlyphCache(); | 23 CFX_SizeGlyphCache(); |
24 ~CFX_SizeGlyphCache(); | 24 ~CFX_SizeGlyphCache(); |
25 std::map<uint32_t, CFX_GlyphBitmap*> m_GlyphMap; | 25 std::map<uint32_t, CFX_GlyphBitmap*> m_GlyphMap; |
26 }; | 26 }; |
27 | 27 |
28 #endif // CORE_FXGE_GE_FX_TEXT_INT_H_ | 28 #endif // CORE_FXGE_GE_FX_TEXT_INT_H_ |
OLD | NEW |