OLD | NEW |
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 Loading... |
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 Loading... |
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_ |
OLD | NEW |