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

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

Issue 1612113003: Rename CPDF_PageObjects to CPDF_PageObjectList (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Fix stray file. Created 4 years, 11 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.cpp ('k') | core/src/fpdftext/fpdf_text_search.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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 using CPDF_TransferFuncMap = 86 using CPDF_TransferFuncMap =
87 std::map<CPDF_Object*, CPDF_CountedObject<CPDF_TransferFunc>*>; 87 std::map<CPDF_Object*, CPDF_CountedObject<CPDF_TransferFunc>*>;
88 88
89 CPDF_Document* m_pPDFDoc; 89 CPDF_Document* m_pPDFDoc;
90 CFX_FontCache* m_pFontCache; 90 CFX_FontCache* m_pFontCache;
91 CPDF_Type3CacheMap m_Type3FaceMap; 91 CPDF_Type3CacheMap m_Type3FaceMap;
92 CPDF_TransferFuncMap m_TransferFuncMap; 92 CPDF_TransferFuncMap m_TransferFuncMap;
93 }; 93 };
94 struct _PDF_RenderItem { 94 struct _PDF_RenderItem {
95 public: 95 public:
96 CPDF_PageObjects* m_pObjectList; 96 CPDF_PageObjectList* m_pObjectList;
97 CFX_Matrix m_Matrix; 97 CFX_Matrix m_Matrix;
98 }; 98 };
99 99
100 typedef CFX_ArrayTemplate<_PDF_RenderItem> CPDF_RenderLayer; 100 typedef CFX_ArrayTemplate<_PDF_RenderItem> CPDF_RenderLayer;
101 101
102 class IPDF_ObjectRenderer { 102 class IPDF_ObjectRenderer {
103 public: 103 public:
104 static IPDF_ObjectRenderer* Create(int type); 104 static IPDF_ObjectRenderer* Create(int type);
105 virtual ~IPDF_ObjectRenderer() {} 105 virtual ~IPDF_ObjectRenderer() {}
106 virtual FX_BOOL Start(CPDF_RenderStatus* pRenderStatus, 106 virtual FX_BOOL Start(CPDF_RenderStatus* pRenderStatus,
(...skipping 17 matching lines...) Expand all
124 const CPDF_GraphicStates* pInitialStates, 124 const CPDF_GraphicStates* pInitialStates,
125 const CPDF_RenderOptions* pOptions, 125 const CPDF_RenderOptions* pOptions,
126 int transparency, 126 int transparency,
127 FX_BOOL bDropObjects, 127 FX_BOOL bDropObjects,
128 CPDF_Dictionary* pFormResource = NULL, 128 CPDF_Dictionary* pFormResource = NULL,
129 FX_BOOL bStdCS = FALSE, 129 FX_BOOL bStdCS = FALSE,
130 CPDF_Type3Char* pType3Char = NULL, 130 CPDF_Type3Char* pType3Char = NULL,
131 FX_ARGB fill_color = 0, 131 FX_ARGB fill_color = 0,
132 FX_DWORD GroupFamily = 0, 132 FX_DWORD GroupFamily = 0,
133 FX_BOOL bLoadMask = FALSE); 133 FX_BOOL bLoadMask = FALSE);
134 void RenderObjectList(const CPDF_PageObjects* pObjs, 134 void RenderObjectList(const CPDF_PageObjectList* pObjs,
135 const CFX_Matrix* pObj2Device); 135 const CFX_Matrix* pObj2Device);
136 void RenderSingleObject(const CPDF_PageObject* pObj, 136 void RenderSingleObject(const CPDF_PageObject* pObj,
137 const CFX_Matrix* pObj2Device); 137 const CFX_Matrix* pObj2Device);
138 FX_BOOL ContinueSingleObject(const CPDF_PageObject* pObj, 138 FX_BOOL ContinueSingleObject(const CPDF_PageObject* pObj,
139 const CFX_Matrix* pObj2Device, 139 const CFX_Matrix* pObj2Device,
140 IFX_Pause* pPause); 140 IFX_Pause* pPause);
141 CPDF_RenderContext* GetContext() { return m_pContext; } 141 CPDF_RenderContext* GetContext() { return m_pContext; }
142 142
143 CPDF_RenderOptions m_Options; 143 CPDF_RenderOptions m_Options;
144 CPDF_Dictionary* m_pFormResource; 144 CPDF_Dictionary* m_pFormResource;
(...skipping 469 matching lines...) Expand 10 before | Expand all | Expand 10 after
614 const uint8_t* m_RampB; 614 const uint8_t* m_RampB;
615 }; 615 };
616 616
617 struct _CPDF_UniqueKeyGen { 617 struct _CPDF_UniqueKeyGen {
618 void Generate(int count, ...); 618 void Generate(int count, ...);
619 FX_CHAR m_Key[128]; 619 FX_CHAR m_Key[128];
620 int m_KeyLen; 620 int m_KeyLen;
621 }; 621 };
622 622
623 #endif // CORE_SRC_FPDFAPI_FPDF_RENDER_RENDER_INT_H_ 623 #endif // CORE_SRC_FPDFAPI_FPDF_RENDER_RENDER_INT_H_
OLDNEW
« no previous file with comments | « core/src/fpdfapi/fpdf_render/fpdf_render.cpp ('k') | core/src/fpdftext/fpdf_text_search.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698