Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1258)

Side by Side Diff: core/fxge/cfx_facecache.h

Issue 2377393002: Move core/fxge/include to core/fxge (Closed)
Patch Set: Rebase to master Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « core/fxge/apple/fx_quartz_device.cpp ('k') | core/fxge/cfx_fontcache.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 PDFium Authors. All rights reserved. 1 // Copyright 2016 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_INCLUDE_CFX_FACECACHE_H_ 7 #ifndef CORE_FXGE_CFX_FACECACHE_H_
8 #define CORE_FXGE_INCLUDE_CFX_FACECACHE_H_ 8 #define CORE_FXGE_CFX_FACECACHE_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 class CFX_FaceCache { 15 class CFX_FaceCache {
16 public: 16 public:
17 explicit CFX_FaceCache(FXFT_Face face); 17 explicit CFX_FaceCache(FXFT_Face face);
18 ~CFX_FaceCache(); 18 ~CFX_FaceCache();
19 const CFX_GlyphBitmap* LoadGlyphBitmap(const CFX_Font* pFont, 19 const CFX_GlyphBitmap* LoadGlyphBitmap(const CFX_Font* pFont,
20 uint32_t glyph_index, 20 uint32_t glyph_index,
21 FX_BOOL bFontStyle, 21 FX_BOOL bFontStyle,
22 const CFX_Matrix* pMatrix, 22 const CFX_Matrix* pMatrix,
23 int dest_width, 23 int dest_width,
(...skipping 30 matching lines...) Expand all
54 void DestroyPlatform(); 54 void DestroyPlatform();
55 55
56 FXFT_Face const m_Face; 56 FXFT_Face const m_Face;
57 std::map<CFX_ByteString, std::unique_ptr<CFX_SizeGlyphCache>> m_SizeMap; 57 std::map<CFX_ByteString, std::unique_ptr<CFX_SizeGlyphCache>> m_SizeMap;
58 std::map<uint32_t, std::unique_ptr<CFX_PathData>> m_PathMap; 58 std::map<uint32_t, std::unique_ptr<CFX_PathData>> m_PathMap;
59 #ifdef _SKIA_SUPPORT_ 59 #ifdef _SKIA_SUPPORT_
60 CFX_TypeFace* m_pTypeface; 60 CFX_TypeFace* m_pTypeface;
61 #endif 61 #endif
62 }; 62 };
63 63
64 #endif // CORE_FXGE_INCLUDE_CFX_FACECACHE_H_ 64 #endif // CORE_FXGE_CFX_FACECACHE_H_
OLDNEW
« no previous file with comments | « core/fxge/apple/fx_quartz_device.cpp ('k') | core/fxge/cfx_fontcache.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698