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

Side by Side Diff: core/include/fpdfapi/fpdf_resource.h

Issue 1414283003: Revert "Make m_pShadingObj a CPDF_Stream instead of CPDF_Object." (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 5 years, 1 month 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 | « BUILD.gn ('k') | core/src/fpdfapi/fpdf_page/fpdf_page_parser.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_INCLUDE_FPDFAPI_FPDF_RESOURCE_H_ 7 #ifndef CORE_INCLUDE_FPDFAPI_FPDF_RESOURCE_H_
8 #define CORE_INCLUDE_FPDFAPI_FPDF_RESOURCE_H_ 8 #define CORE_INCLUDE_FPDFAPI_FPDF_RESOURCE_H_
9 9
10 #include "../fxcrt/fx_system.h" 10 #include "../fxcrt/fx_system.h"
(...skipping 670 matching lines...) Expand 10 before | Expand all | Expand 10 after
681 }; 681 };
682 class CPDF_ShadingPattern : public CPDF_Pattern { 682 class CPDF_ShadingPattern : public CPDF_Pattern {
683 public: 683 public:
684 CPDF_ShadingPattern(CPDF_Document* pDoc, 684 CPDF_ShadingPattern(CPDF_Document* pDoc,
685 CPDF_Object* pPatternObj, 685 CPDF_Object* pPatternObj,
686 FX_BOOL bShading, 686 FX_BOOL bShading,
687 const CFX_AffineMatrix* parentMatrix); 687 const CFX_AffineMatrix* parentMatrix);
688 688
689 ~CPDF_ShadingPattern() override; 689 ~CPDF_ShadingPattern() override;
690 690
691 CPDF_Stream* m_pShadingObj; 691 CPDF_Object* m_pShadingObj;
692 692
693 FX_BOOL m_bShadingObj; 693 FX_BOOL m_bShadingObj;
694 694
695 FX_BOOL Load(); 695 FX_BOOL Load();
696 696
697 FX_BOOL Reload(); 697 FX_BOOL Reload();
698 698
699 int m_ShadingType; 699 int m_ShadingType;
700 700
701 CPDF_ColorSpace* m_pCS; // Still keep m_pCS as some CPDF_ColorSpace (name 701 CPDF_ColorSpace* m_pCS; // Still keep m_pCS as some CPDF_ColorSpace (name
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
834 834
835 FX_BOOL m_bInterpolate; 835 FX_BOOL m_bInterpolate;
836 836
837 CPDF_Document* m_pDocument; 837 CPDF_Document* m_pDocument;
838 838
839 CPDF_Dictionary* m_pOC; 839 CPDF_Dictionary* m_pOC;
840 CPDF_Dictionary* InitJPEG(uint8_t* pData, FX_DWORD size); 840 CPDF_Dictionary* InitJPEG(uint8_t* pData, FX_DWORD size);
841 }; 841 };
842 842
843 #endif // CORE_INCLUDE_FPDFAPI_FPDF_RESOURCE_H_ 843 #endif // CORE_INCLUDE_FPDFAPI_FPDF_RESOURCE_H_
OLDNEW
« no previous file with comments | « BUILD.gn ('k') | core/src/fpdfapi/fpdf_page/fpdf_page_parser.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698