| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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_ |
| OLD | NEW |