• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright 2014 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6 
7 #ifndef CORE_FXGE_GE_FX_TEXT_INT_H_
8 #define CORE_FXGE_GE_FX_TEXT_INT_H_
9 
10 #include <map>
11 
12 #include "core/fxge/fx_font.h"
13 #include "core/fxge/fx_freetype.h"
14 
15 struct _CFX_UniqueKeyGen {
16   void Generate(int count, ...);
17   FX_CHAR m_Key[128];
18   int m_KeyLen;
19 };
20 
21 class CFX_SizeGlyphCache {
22  public:
23   CFX_SizeGlyphCache();
24   ~CFX_SizeGlyphCache();
25   std::map<uint32_t, CFX_GlyphBitmap*> m_GlyphMap;
26 };
27 
28 #endif  // CORE_FXGE_GE_FX_TEXT_INT_H_
29