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

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

Issue 1701073002: Split CPDF_PageObjectHolder off from CPDF_PageObjectList (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: m_pPage can never be null, remove checks. Created 4 years, 10 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/src/fpdfapi/fpdf_render/fpdf_render_text.cpp ('k') | core/src/fpdftext/fpdf_text_int.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_SRC_FPDFAPI_FPDF_RENDER_RENDER_INT_H_ 7 #ifndef CORE_SRC_FPDFAPI_FPDF_RENDER_RENDER_INT_H_
8 #define CORE_SRC_FPDFAPI_FPDF_RENDER_RENDER_INT_H_ 8 #define CORE_SRC_FPDFAPI_FPDF_RENDER_RENDER_INT_H_
9 9
10 #include <map> 10 #include <map>
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 const CPDF_GraphicStates* pInitialStates, 117 const CPDF_GraphicStates* pInitialStates,
118 const CPDF_RenderOptions* pOptions, 118 const CPDF_RenderOptions* pOptions,
119 int transparency, 119 int transparency,
120 FX_BOOL bDropObjects, 120 FX_BOOL bDropObjects,
121 CPDF_Dictionary* pFormResource = NULL, 121 CPDF_Dictionary* pFormResource = NULL,
122 FX_BOOL bStdCS = FALSE, 122 FX_BOOL bStdCS = FALSE,
123 CPDF_Type3Char* pType3Char = NULL, 123 CPDF_Type3Char* pType3Char = NULL,
124 FX_ARGB fill_color = 0, 124 FX_ARGB fill_color = 0,
125 FX_DWORD GroupFamily = 0, 125 FX_DWORD GroupFamily = 0,
126 FX_BOOL bLoadMask = FALSE); 126 FX_BOOL bLoadMask = FALSE);
127 void RenderObjectList(const CPDF_PageObjectList* pObjs, 127 void RenderObjectList(const CPDF_PageObjectHolder* pObjectHolder,
128 const CFX_Matrix* pObj2Device); 128 const CFX_Matrix* pObj2Device);
129 void RenderSingleObject(const CPDF_PageObject* pObj, 129 void RenderSingleObject(const CPDF_PageObject* pObj,
130 const CFX_Matrix* pObj2Device); 130 const CFX_Matrix* pObj2Device);
131 FX_BOOL ContinueSingleObject(const CPDF_PageObject* pObj, 131 FX_BOOL ContinueSingleObject(const CPDF_PageObject* pObj,
132 const CFX_Matrix* pObj2Device, 132 const CFX_Matrix* pObj2Device,
133 IFX_Pause* pPause); 133 IFX_Pause* pPause);
134 CPDF_RenderContext* GetContext() { return m_pContext; } 134 CPDF_RenderContext* GetContext() { return m_pContext; }
135 135
136 CPDF_RenderOptions m_Options; 136 CPDF_RenderOptions m_Options;
137 CPDF_Dictionary* m_pFormResource; 137 CPDF_Dictionary* m_pFormResource;
(...skipping 470 matching lines...) Expand 10 before | Expand all | Expand 10 after
608 const uint8_t* m_RampB; 608 const uint8_t* m_RampB;
609 }; 609 };
610 610
611 struct _CPDF_UniqueKeyGen { 611 struct _CPDF_UniqueKeyGen {
612 void Generate(int count, ...); 612 void Generate(int count, ...);
613 FX_CHAR m_Key[128]; 613 FX_CHAR m_Key[128];
614 int m_KeyLen; 614 int m_KeyLen;
615 }; 615 };
616 616
617 #endif // CORE_SRC_FPDFAPI_FPDF_RENDER_RENDER_INT_H_ 617 #endif // CORE_SRC_FPDFAPI_FPDF_RENDER_RENDER_INT_H_
OLDNEW
« no previous file with comments | « core/src/fpdfapi/fpdf_render/fpdf_render_text.cpp ('k') | core/src/fpdftext/fpdf_text_int.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698