| // Copyright 2014 PDFium Authors. All rights reserved. | |
| // Use of this source code is governed by a BSD-style license that can be | |
| // found in the LICENSE file. | |
| // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com | |
| #ifndef CORE_FXGE_GE_FX_TEXT_INT_H_ | |
| #define CORE_FXGE_GE_FX_TEXT_INT_H_ | |
| #include <map> | |
| #include "core/fxge/include/fx_font.h" | |
| #include "core/fxge/include/fx_freetype.h" | |
| struct _CFX_UniqueKeyGen { | |
| void Generate(int count, ...); | |
| FX_CHAR m_Key[128]; | |
| int m_KeyLen; | |
| }; | |
| class CFX_SizeGlyphCache { | |
| public: | |
| CFX_SizeGlyphCache(); | |
| ~CFX_SizeGlyphCache(); | |
| std::map<uint32_t, CFX_GlyphBitmap*> m_GlyphMap; | |
| }; | |
| #endif // CORE_FXGE_GE_FX_TEXT_INT_H_ |