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 _TEXT_INT_H_ | 7 #ifndef CORE_SRC_FXGE_GE_TEXT_INT_H_ |
8 #define _TEXT_INT_H_ | 8 #define CORE_SRC_FXGE_GE_TEXT_INT_H_ |
9 | 9 |
10 struct _CFX_UniqueKeyGen { | 10 struct _CFX_UniqueKeyGen { |
11 void Generate(int count, ...); | 11 void Generate(int count, ...); |
12 FX_CHAR m_Key[128]; | 12 FX_CHAR m_Key[128]; |
13 int m_KeyLen; | 13 int m_KeyLen; |
14 }; | 14 }; |
15 class CFX_SizeGlyphCache | 15 class CFX_SizeGlyphCache |
16 { | 16 { |
17 public: | 17 public: |
18 CFX_SizeGlyphCache() | 18 CFX_SizeGlyphCache() |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
114 virtual FX_DWORD CharCodeFromUnicode(FX_WCHAR Unicode) const; | 114 virtual FX_DWORD CharCodeFromUnicode(FX_WCHAR Unicode) const; |
115 virtual FX_BOOL IsUnicodeCompatible() const; | 115 virtual FX_BOOL IsUnicodeCompatible() const; |
116 virtual FX_DWORD GlyphFromCharCodeEx(FX_DWORD charcode, int encod
ing = ENCODING_UNICODE) | 116 virtual FX_DWORD GlyphFromCharCodeEx(FX_DWORD charcode, int encod
ing = ENCODING_UNICODE) |
117 { | 117 { |
118 return GlyphFromCharCode(charcode); | 118 return GlyphFromCharCode(charcode); |
119 } | 119 } |
120 private: | 120 private: |
121 CFX_Font* m_pFont; | 121 CFX_Font* m_pFont; |
122 FX_DWORD m_nEncodingID; | 122 FX_DWORD m_nEncodingID; |
123 }; | 123 }; |
124 #endif // _TEXT_INT_H_ | 124 |
| 125 #endif // CORE_SRC_FXGE_GE_TEXT_INT_H_ |
OLD | NEW |