summaryrefslogtreecommitdiff
path: root/core/fxge/ge/fx_text_int.h
blob: 87a9b3ecedb8891ead7e85ad968fc7d6787a56f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// 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_