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

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

Issue 1624553004: Merge to XFA: Change _PDF_RenderItem to CPDF_RenderContext::Layer. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: 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_pattern.cpp ('k') | core/src/fpdfdoc/doc_annot.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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 using CPDF_Type3CacheMap = 84 using CPDF_Type3CacheMap =
85 std::map<CPDF_Font*, CPDF_CountedObject<CPDF_Type3Cache>*>; 85 std::map<CPDF_Font*, CPDF_CountedObject<CPDF_Type3Cache>*>;
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 {
95 public:
96 CPDF_PageObjectList* m_pObjectList;
97 CFX_Matrix m_Matrix;
98 };
99
100 typedef CFX_ArrayTemplate<_PDF_RenderItem> CPDF_RenderLayer;
101 94
102 class IPDF_ObjectRenderer { 95 class IPDF_ObjectRenderer {
103 public: 96 public:
104 static IPDF_ObjectRenderer* Create(int type); 97 static IPDF_ObjectRenderer* Create(int type);
105 virtual ~IPDF_ObjectRenderer() {} 98 virtual ~IPDF_ObjectRenderer() {}
106 virtual FX_BOOL Start(CPDF_RenderStatus* pRenderStatus, 99 virtual FX_BOOL Start(CPDF_RenderStatus* pRenderStatus,
107 const CPDF_PageObject* pObj, 100 const CPDF_PageObject* pObj,
108 const CFX_Matrix* pObj2Device, 101 const CFX_Matrix* pObj2Device,
109 FX_BOOL bStdCS, 102 FX_BOOL bStdCS,
110 int blendType = FXDIB_BLEND_NORMAL) = 0; 103 int blendType = FXDIB_BLEND_NORMAL) = 0;
(...skipping 503 matching lines...) Expand 10 before | Expand all | Expand 10 after
614 const uint8_t* m_RampB; 607 const uint8_t* m_RampB;
615 }; 608 };
616 609
617 struct _CPDF_UniqueKeyGen { 610 struct _CPDF_UniqueKeyGen {
618 void Generate(int count, ...); 611 void Generate(int count, ...);
619 FX_CHAR m_Key[128]; 612 FX_CHAR m_Key[128];
620 int m_KeyLen; 613 int m_KeyLen;
621 }; 614 };
622 615
623 #endif // CORE_SRC_FPDFAPI_FPDF_RENDER_RENDER_INT_H_ 616 #endif // CORE_SRC_FPDFAPI_FPDF_RENDER_RENDER_INT_H_
OLDNEW
« no previous file with comments | « core/src/fpdfapi/fpdf_render/fpdf_render_pattern.cpp ('k') | core/src/fpdfdoc/doc_annot.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698