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 646 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
657 CPDF_Pattern(const CFX_AffineMatrix* pParentMatrix); | 657 CPDF_Pattern(const CFX_AffineMatrix* pParentMatrix); |
658 FX_BOOL m_bForceClear; | 658 FX_BOOL m_bForceClear; |
659 }; | 659 }; |
660 | 660 |
661 class CPDF_TilingPattern : public CPDF_Pattern { | 661 class CPDF_TilingPattern : public CPDF_Pattern { |
662 public: | 662 public: |
663 CPDF_TilingPattern(CPDF_Document* pDoc, | 663 CPDF_TilingPattern(CPDF_Document* pDoc, |
664 CPDF_Object* pPatternObj, | 664 CPDF_Object* pPatternObj, |
665 const CFX_AffineMatrix* parentMatrix); | 665 const CFX_AffineMatrix* parentMatrix); |
666 | 666 |
667 virtual ~CPDF_TilingPattern(); | 667 ~CPDF_TilingPattern() override; |
668 | 668 |
669 FX_BOOL Load(); | 669 FX_BOOL Load(); |
670 | 670 |
671 FX_BOOL m_bColored; | 671 FX_BOOL m_bColored; |
672 | 672 |
673 CFX_FloatRect m_BBox; | 673 CFX_FloatRect m_BBox; |
674 | 674 |
675 FX_FLOAT m_XStep; | 675 FX_FLOAT m_XStep; |
676 | 676 |
677 FX_FLOAT m_YStep; | 677 FX_FLOAT m_YStep; |
678 | 678 |
679 CPDF_Form* m_pForm; | 679 CPDF_Form* m_pForm; |
680 }; | 680 }; |
681 class CPDF_ShadingPattern : public CPDF_Pattern { | 681 class CPDF_ShadingPattern : public CPDF_Pattern { |
682 public: | 682 public: |
683 CPDF_ShadingPattern(CPDF_Document* pDoc, | 683 CPDF_ShadingPattern(CPDF_Document* pDoc, |
684 CPDF_Object* pPatternObj, | 684 CPDF_Object* pPatternObj, |
685 FX_BOOL bShading, | 685 FX_BOOL bShading, |
686 const CFX_AffineMatrix* parentMatrix); | 686 const CFX_AffineMatrix* parentMatrix); |
687 | 687 |
688 virtual ~CPDF_ShadingPattern(); | 688 ~CPDF_ShadingPattern() override; |
689 | 689 |
690 CPDF_Object* m_pShadingObj; | 690 CPDF_Object* m_pShadingObj; |
691 | 691 |
692 FX_BOOL m_bShadingObj; | 692 FX_BOOL m_bShadingObj; |
693 | 693 |
694 FX_BOOL Load(); | 694 FX_BOOL Load(); |
695 | 695 |
696 FX_BOOL Reload(); | 696 FX_BOOL Reload(); |
697 | 697 |
698 int m_ShadingType; | 698 int m_ShadingType; |
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
833 | 833 |
834 FX_BOOL m_bInterpolate; | 834 FX_BOOL m_bInterpolate; |
835 | 835 |
836 CPDF_Document* m_pDocument; | 836 CPDF_Document* m_pDocument; |
837 | 837 |
838 CPDF_Dictionary* m_pOC; | 838 CPDF_Dictionary* m_pOC; |
839 CPDF_Dictionary* InitJPEG(uint8_t* pData, FX_DWORD size); | 839 CPDF_Dictionary* InitJPEG(uint8_t* pData, FX_DWORD size); |
840 }; | 840 }; |
841 | 841 |
842 #endif // CORE_INCLUDE_FPDFAPI_FPDF_RESOURCE_H_ | 842 #endif // CORE_INCLUDE_FPDFAPI_FPDF_RESOURCE_H_ |
OLD | NEW |