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

Side by Side Diff: core/include/fxge/fx_ge.h

Issue 1259123005: Kill IFX_FontMapper (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: blank line Created 5 years, 4 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/include/fxge/fx_font.h ('k') | core/src/fxge/apple/apple_int.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 2014 PDFium Authors. All rights reserved. 1 // Copyright 2014 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_INCLUDE_FXGE_FX_GE_H_ 7 #ifndef CORE_INCLUDE_FXGE_FX_GE_H_
8 #define CORE_INCLUDE_FXGE_FX_GE_H_ 8 #define CORE_INCLUDE_FXGE_FX_GE_H_
9 9
10 #include "fx_dib.h" 10 #include "fx_dib.h"
(...skipping 24 matching lines...) Expand all
35 static void Destroy(); 35 static void Destroy();
36 public: 36 public:
37 37
38 CFX_FontCache* GetFontCache(); 38 CFX_FontCache* GetFontCache();
39 CFX_FontMgr* GetFontMgr() 39 CFX_FontMgr* GetFontMgr()
40 { 40 {
41 return m_pFontMgr; 41 return m_pFontMgr;
42 } 42 }
43 void SetTextGamma(FX_FLOAT gammaValue ); 43 void SetTextGamma(FX_FLOAT gammaValue );
44 const uint8_t* GetTextGammaTable(); 44 const uint8_t* GetTextGammaTable();
45 void SetExtFontMapper(IFX_FontMapper* pFontMapper);
46 45
47 void SetCodecModule(CCodec_ModuleMgr* pCodecModule) 46 void SetCodecModule(CCodec_ModuleMgr* pCodecModule)
48 { 47 {
49 m_pCodecModule = pCodecModule; 48 m_pCodecModule = pCodecModule;
50 } 49 }
51 CCodec_ModuleMgr* GetCodecModule() 50 CCodec_ModuleMgr* GetCodecModule()
52 { 51 {
53 return m_pCodecModule; 52 return m_pCodecModule;
54 } 53 }
55 FXFT_Library m_FTLibrary; 54 FXFT_Library m_FTLibrary;
(...skipping 665 matching lines...) Expand 10 before | Expand all | Expand 10 after
721 void SetGraphState(const CFX_GraphStateData* pGraphSt ate); 720 void SetGraphState(const CFX_GraphStateData* pGraphSt ate);
722 721
723 void SetColor(FX_DWORD color, int alpha_flag, void* p IccTransform); 722 void SetColor(FX_DWORD color, int alpha_flag, void* p IccTransform);
724 723
725 void FindPSFontGlyph(CFX_FaceCache* pFaceCache, CFX_F ont* pFont, const FXTEXT_CHARPOS& charpos, int& ps_fontnum, int &ps_glyphindex); 724 void FindPSFontGlyph(CFX_FaceCache* pFaceCache, CFX_F ont* pFont, const FXTEXT_CHARPOS& charpos, int& ps_fontnum, int &ps_glyphindex);
726 725
727 void WritePSBinary(const uint8_t* data, int len); 726 void WritePSBinary(const uint8_t* data, int len);
728 }; 727 };
729 728
730 #endif // CORE_INCLUDE_FXGE_FX_GE_H_ 729 #endif // CORE_INCLUDE_FXGE_FX_GE_H_
OLDNEW
« no previous file with comments | « core/include/fxge/fx_font.h ('k') | core/src/fxge/apple/apple_int.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698