OLD | NEW |
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_FPDFAPI_RENDER_CPDF_RENDERSTATUS_H_ | 7 #ifndef CORE_FPDFAPI_RENDER_CPDF_RENDERSTATUS_H_ |
8 #define CORE_FPDFAPI_RENDER_CPDF_RENDERSTATUS_H_ | 8 #define CORE_FPDFAPI_RENDER_CPDF_RENDERSTATUS_H_ |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
| 11 #include <vector> |
11 | 12 |
12 #include "core/fpdfapi/page/cpdf_clippath.h" | 13 #include "core/fpdfapi/page/cpdf_clippath.h" |
13 #include "core/fpdfapi/page/cpdf_graphicstates.h" | 14 #include "core/fpdfapi/page/cpdf_graphicstates.h" |
14 #include "core/fpdfapi/render/cpdf_renderoptions.h" | 15 #include "core/fpdfapi/render/cpdf_renderoptions.h" |
15 #include "core/fxge/cfx_renderdevice.h" | 16 #include "core/fxge/cfx_renderdevice.h" |
16 | 17 |
17 class CFX_PathData; | 18 class CFX_PathData; |
18 class CPDF_Color; | 19 class CPDF_Color; |
19 class CPDF_Dictionary; | 20 class CPDF_Dictionary; |
20 class CPDF_Font; | 21 class CPDF_Font; |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 IFX_Pause* pPause); | 63 IFX_Pause* pPause); |
63 CPDF_RenderContext* GetContext() { return m_pContext; } | 64 CPDF_RenderContext* GetContext() { return m_pContext; } |
64 | 65 |
65 #if defined _SKIA_SUPPORT_ | 66 #if defined _SKIA_SUPPORT_ |
66 void DebugVerifyDeviceIsPreMultiplied() const; | 67 void DebugVerifyDeviceIsPreMultiplied() const; |
67 #endif | 68 #endif |
68 | 69 |
69 CPDF_RenderOptions m_Options; | 70 CPDF_RenderOptions m_Options; |
70 CPDF_Dictionary* m_pFormResource; | 71 CPDF_Dictionary* m_pFormResource; |
71 CPDF_Dictionary* m_pPageResource; | 72 CPDF_Dictionary* m_pPageResource; |
72 CFX_ArrayTemplate<CPDF_Type3Font*> m_Type3FontCache; | 73 std::vector<CPDF_Type3Font*> m_Type3FontCache; |
73 | 74 |
74 private: | 75 private: |
75 friend class CPDF_ImageRenderer; | 76 friend class CPDF_ImageRenderer; |
76 friend class CPDF_RenderContext; | 77 friend class CPDF_RenderContext; |
77 | 78 |
78 void ProcessClipPath(CPDF_ClipPath ClipPath, const CFX_Matrix* pObj2Device); | 79 void ProcessClipPath(CPDF_ClipPath ClipPath, const CFX_Matrix* pObj2Device); |
79 bool ProcessTransparency(CPDF_PageObject* PageObj, | 80 bool ProcessTransparency(CPDF_PageObject* PageObj, |
80 const CFX_Matrix* pObj2Device); | 81 const CFX_Matrix* pObj2Device); |
81 void ProcessObjectNoClip(CPDF_PageObject* PageObj, | 82 void ProcessObjectNoClip(CPDF_PageObject* PageObj, |
82 const CFX_Matrix* pObj2Device); | 83 const CFX_Matrix* pObj2Device); |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
169 bool m_bDropObjects; | 170 bool m_bDropObjects; |
170 bool m_bStdCS; | 171 bool m_bStdCS; |
171 uint32_t m_GroupFamily; | 172 uint32_t m_GroupFamily; |
172 bool m_bLoadMask; | 173 bool m_bLoadMask; |
173 CPDF_Type3Char* m_pType3Char; | 174 CPDF_Type3Char* m_pType3Char; |
174 FX_ARGB m_T3FillColor; | 175 FX_ARGB m_T3FillColor; |
175 int m_curBlend; | 176 int m_curBlend; |
176 }; | 177 }; |
177 | 178 |
178 #endif // CORE_FPDFAPI_RENDER_CPDF_RENDERSTATUS_H_ | 179 #endif // CORE_FPDFAPI_RENDER_CPDF_RENDERSTATUS_H_ |
OLD | NEW |