Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(21)

Side by Side Diff: core/fpdfapi/fpdf_render/render_int.h

Issue 2120353004: copy graphics state fully (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: wip; remove byte order Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « core/fpdfapi/fpdf_render/fpdf_render_image.cpp ('k') | core/fxge/ge/fx_ge_device.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « core/fpdfapi/fpdf_render/fpdf_render_image.cpp ('k') | core/fxge/ge/fx_ge_device.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698