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> |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 void RenderSingleObject(CPDF_PageObject* pObj, const CFX_Matrix* pObj2Device); | 59 void RenderSingleObject(CPDF_PageObject* pObj, const CFX_Matrix* pObj2Device); |
60 bool ContinueSingleObject(CPDF_PageObject* pObj, | 60 bool ContinueSingleObject(CPDF_PageObject* pObj, |
61 const CFX_Matrix* pObj2Device, | 61 const CFX_Matrix* pObj2Device, |
62 IFX_Pause* pPause); | 62 IFX_Pause* pPause); |
63 CPDF_RenderContext* GetContext() { return m_pContext; } | 63 CPDF_RenderContext* GetContext() { return m_pContext; } |
64 | 64 |
65 #if defined _SKIA_SUPPORT_ | 65 #if defined _SKIA_SUPPORT_ |
66 void DebugVerifyDeviceIsPreMultiplied() const; | 66 void DebugVerifyDeviceIsPreMultiplied() const; |
67 #endif | 67 #endif |
68 | 68 |
| 69 #if defined _SKIA_SUPPORT_PATHS_ |
| 70 void UnPreMultiplyDevice(); |
| 71 #endif |
| 72 |
69 CPDF_RenderOptions m_Options; | 73 CPDF_RenderOptions m_Options; |
70 CPDF_Dictionary* m_pFormResource; | 74 CPDF_Dictionary* m_pFormResource; |
71 CPDF_Dictionary* m_pPageResource; | 75 CPDF_Dictionary* m_pPageResource; |
72 CFX_ArrayTemplate<CPDF_Type3Font*> m_Type3FontCache; | 76 CFX_ArrayTemplate<CPDF_Type3Font*> m_Type3FontCache; |
73 | 77 |
74 private: | 78 private: |
75 friend class CPDF_ImageRenderer; | 79 friend class CPDF_ImageRenderer; |
76 friend class CPDF_RenderContext; | 80 friend class CPDF_RenderContext; |
77 | 81 |
78 void ProcessClipPath(CPDF_ClipPath ClipPath, const CFX_Matrix* pObj2Device); | 82 void ProcessClipPath(CPDF_ClipPath ClipPath, const CFX_Matrix* pObj2Device); |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
169 bool m_bDropObjects; | 173 bool m_bDropObjects; |
170 bool m_bStdCS; | 174 bool m_bStdCS; |
171 uint32_t m_GroupFamily; | 175 uint32_t m_GroupFamily; |
172 bool m_bLoadMask; | 176 bool m_bLoadMask; |
173 CPDF_Type3Char* m_pType3Char; | 177 CPDF_Type3Char* m_pType3Char; |
174 FX_ARGB m_T3FillColor; | 178 FX_ARGB m_T3FillColor; |
175 int m_curBlend; | 179 int m_curBlend; |
176 }; | 180 }; |
177 | 181 |
178 #endif // CORE_FPDFAPI_RENDER_CPDF_RENDERSTATUS_H_ | 182 #endif // CORE_FPDFAPI_RENDER_CPDF_RENDERSTATUS_H_ |
OLD | NEW |