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

Side by Side Diff: core/fxge/cfx_unicodeencodingex.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/cfx_unicodeencoding.h ('k') | core/fxge/cfx_windowsdevice.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_UNICODEENCODINGEX_H_ 7 #ifndef CORE_FXGE_CFX_UNICODEENCODINGEX_H_
8 #define CORE_FXGE_INCLUDE_CFX_UNICODEENCODINGEX_H_ 8 #define CORE_FXGE_CFX_UNICODEENCODINGEX_H_
9 9
10 #include <map> 10 #include <map>
11 #include <memory> 11 #include <memory>
12 #include <vector> 12 #include <vector>
13 13
14 #include "core/fxcrt/fx_system.h" 14 #include "core/fxcrt/fx_system.h"
15 #include "core/fxge/include/cfx_unicodeencoding.h" 15 #include "core/fxge/cfx_unicodeencoding.h"
16 #include "core/fxge/include/fx_dib.h" 16 #include "core/fxge/fx_dib.h"
17 #include "core/fxge/include/fx_freetype.h" 17 #include "core/fxge/fx_freetype.h"
18 18
19 class CFX_UnicodeEncodingEx : public CFX_UnicodeEncoding { 19 class CFX_UnicodeEncodingEx : public CFX_UnicodeEncoding {
20 public: 20 public:
21 CFX_UnicodeEncodingEx(CFX_Font* pFont, uint32_t EncodingID); 21 CFX_UnicodeEncodingEx(CFX_Font* pFont, uint32_t EncodingID);
22 ~CFX_UnicodeEncodingEx() override; 22 ~CFX_UnicodeEncodingEx() override;
23 23
24 // CFX_UnicodeEncoding: 24 // CFX_UnicodeEncoding:
25 uint32_t GlyphFromCharCode(uint32_t charcode) override; 25 uint32_t GlyphFromCharCode(uint32_t charcode) override;
26 26
27 uint32_t CharCodeFromUnicode(FX_WCHAR Unicode) const; 27 uint32_t CharCodeFromUnicode(FX_WCHAR Unicode) const;
28 28
29 private: 29 private:
30 uint32_t m_nEncodingID; 30 uint32_t m_nEncodingID;
31 }; 31 };
32 32
33 CFX_UnicodeEncodingEx* FX_CreateFontEncodingEx( 33 CFX_UnicodeEncodingEx* FX_CreateFontEncodingEx(
34 CFX_Font* pFont, 34 CFX_Font* pFont,
35 uint32_t nEncodingID = FXFM_ENCODING_NONE); 35 uint32_t nEncodingID = FXFM_ENCODING_NONE);
36 36
37 #endif // CORE_FXGE_INCLUDE_CFX_UNICODEENCODINGEX_H_ 37 #endif // CORE_FXGE_CFX_UNICODEENCODINGEX_H_
OLDNEW
« no previous file with comments | « core/fxge/cfx_unicodeencoding.h ('k') | core/fxge/cfx_windowsdevice.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698