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 _FX_GE_H_ | 7 #ifndef CORE_INCLUDE_FXGE_FX_GE_H_ |
8 #define _FX_GE_H_ | 8 #define CORE_INCLUDE_FXGE_FX_GE_H_ |
9 #ifndef _FX_DIB_H_ | 9 |
10 #include "fx_dib.h" | 10 #include "fx_dib.h" |
11 #endif | |
12 #ifndef _FX_FONT_H_ | |
13 #include "fx_font.h" | 11 #include "fx_font.h" |
14 #endif | 12 |
15 class CFX_ClipRgn; | 13 class CFX_ClipRgn; |
16 class CFX_PathData; | 14 class CFX_PathData; |
17 class CFX_GraphStateData; | 15 class CFX_GraphStateData; |
18 class CFX_Font; | 16 class CFX_Font; |
19 class CFX_FontMgr; | 17 class CFX_FontMgr; |
20 class CFX_FontCache; | 18 class CFX_FontCache; |
21 class CFX_FaceCache; | 19 class CFX_FaceCache; |
22 class CFX_RenderDevice; | 20 class CFX_RenderDevice; |
23 class IFX_RenderDeviceDriver; | 21 class IFX_RenderDeviceDriver; |
24 class CCodec_ModuleMgr; | 22 class CCodec_ModuleMgr; |
25 class IFXG_PaintModuleMgr; | 23 class IFXG_PaintModuleMgr; |
| 24 |
26 class CFX_GEModule | 25 class CFX_GEModule |
27 { | 26 { |
28 public: | 27 public: |
29 | 28 |
30 static void Create(); | 29 static void Create(); |
31 | 30 |
32 static void Use(CFX_GEModule* pMgr); | 31 static void Use(CFX_GEModule* pMgr); |
33 | 32 |
34 static CFX_GEModule* Get(); | 33 static CFX_GEModule* Get(); |
35 | 34 |
(...skipping 686 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
722 void OutputPath(const CFX_PathData* pPathData, const
CFX_AffineMatrix* pObject2Device); | 721 void OutputPath(const CFX_PathData* pPathData, const
CFX_AffineMatrix* pObject2Device); |
723 | 722 |
724 void SetGraphState(const CFX_GraphStateData* pGraphSt
ate); | 723 void SetGraphState(const CFX_GraphStateData* pGraphSt
ate); |
725 | 724 |
726 void SetColor(FX_DWORD color, int alpha_flag, void* p
IccTransform); | 725 void SetColor(FX_DWORD color, int alpha_flag, void* p
IccTransform); |
727 | 726 |
728 void FindPSFontGlyph(CFX_FaceCache* pFaceCache, CFX_F
ont* pFont, const FXTEXT_CHARPOS& charpos, int& ps_fontnum, int &ps_glyphindex); | 727 void FindPSFontGlyph(CFX_FaceCache* pFaceCache, CFX_F
ont* pFont, const FXTEXT_CHARPOS& charpos, int& ps_fontnum, int &ps_glyphindex); |
729 | 728 |
730 void WritePSBinary(FX_LPCBYTE data, int len); | 729 void WritePSBinary(FX_LPCBYTE data, int len); |
731 }; | 730 }; |
732 #endif | 731 |
| 732 #endif // CORE_INCLUDE_FXGE_FX_GE_H_ |
OLD | NEW |