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_FPDFAPI_FPDF_RENDER_RENDER_INT_H_ | 7 #ifndef CORE_FPDFAPI_FPDF_RENDER_RENDER_INT_H_ |
8 #define CORE_FPDFAPI_FPDF_RENDER_RENDER_INT_H_ | 8 #define CORE_FPDFAPI_FPDF_RENDER_RENDER_INT_H_ |
9 | 9 |
10 #include <map> | 10 #include <map> |
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
143 FX_BOOL bLoadMask = FALSE); | 143 FX_BOOL bLoadMask = FALSE); |
144 void RenderObjectList(const CPDF_PageObjectHolder* pObjectHolder, | 144 void RenderObjectList(const CPDF_PageObjectHolder* pObjectHolder, |
145 const CFX_Matrix* pObj2Device); | 145 const CFX_Matrix* pObj2Device); |
146 void RenderSingleObject(const CPDF_PageObject* pObj, | 146 void RenderSingleObject(const CPDF_PageObject* pObj, |
147 const CFX_Matrix* pObj2Device); | 147 const CFX_Matrix* pObj2Device); |
148 FX_BOOL ContinueSingleObject(const CPDF_PageObject* pObj, | 148 FX_BOOL ContinueSingleObject(const CPDF_PageObject* pObj, |
149 const CFX_Matrix* pObj2Device, | 149 const CFX_Matrix* pObj2Device, |
150 IFX_Pause* pPause); | 150 IFX_Pause* pPause); |
151 CPDF_RenderContext* GetContext() { return m_pContext; } | 151 CPDF_RenderContext* GetContext() { return m_pContext; } |
152 | 152 |
| 153 #if defined _SKIA_SUPPORT_ |
| 154 void DebugVerifyDeviceIsPreMultiplied() const; |
| 155 #endif |
| 156 |
153 CPDF_RenderOptions m_Options; | 157 CPDF_RenderOptions m_Options; |
154 CPDF_Dictionary* m_pFormResource; | 158 CPDF_Dictionary* m_pFormResource; |
155 CPDF_Dictionary* m_pPageResource; | 159 CPDF_Dictionary* m_pPageResource; |
156 CFX_ArrayTemplate<CPDF_Type3Font*> m_Type3FontCache; | 160 CFX_ArrayTemplate<CPDF_Type3Font*> m_Type3FontCache; |
157 | 161 |
158 protected: | 162 protected: |
159 friend class CPDF_ImageRenderer; | 163 friend class CPDF_ImageRenderer; |
160 friend class CPDF_RenderContext; | 164 friend class CPDF_RenderContext; |
161 | 165 |
162 void ProcessClipPath(CPDF_ClipPath ClipPath, const CFX_Matrix* pObj2Device); | 166 void ProcessClipPath(CPDF_ClipPath ClipPath, const CFX_Matrix* pObj2Device); |
(...skipping 456 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
619 const uint8_t* src_buf, | 623 const uint8_t* src_buf, |
620 int pixels, | 624 int pixels, |
621 int Bpp) const override; | 625 int Bpp) const override; |
622 | 626 |
623 const uint8_t* m_RampR; | 627 const uint8_t* m_RampR; |
624 const uint8_t* m_RampG; | 628 const uint8_t* m_RampG; |
625 const uint8_t* m_RampB; | 629 const uint8_t* m_RampB; |
626 }; | 630 }; |
627 | 631 |
628 #endif // CORE_FPDFAPI_FPDF_RENDER_RENDER_INT_H_ | 632 #endif // CORE_FPDFAPI_FPDF_RENDER_RENDER_INT_H_ |
OLD | NEW |