| 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_PAGEOBJ_H_ | 7 #ifndef CORE_INCLUDE_FPDFAPI_FPDF_PAGEOBJ_H_ |
| 8 #define CORE_INCLUDE_FPDFAPI_FPDF_PAGEOBJ_H_ | 8 #define CORE_INCLUDE_FPDFAPI_FPDF_PAGEOBJ_H_ |
| 9 | 9 |
| 10 #include "../fxge/fx_ge.h" | 10 #include "../fxge/fx_ge.h" |
| (...skipping 651 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 662 { | 662 { |
| 663 public: | 663 public: |
| 664 CPDF_ShadingObject(); | 664 CPDF_ShadingObject(); |
| 665 | 665 |
| 666 virtual ~CPDF_ShadingObject(); | 666 virtual ~CPDF_ShadingObject(); |
| 667 | 667 |
| 668 CPDF_ShadingPattern* m_pShading; | 668 CPDF_ShadingPattern* m_pShading; |
| 669 | 669 |
| 670 CFX_AffineMatrix m_Matrix; | 670 CFX_AffineMatrix m_Matrix; |
| 671 | 671 |
| 672 CPDF_Page* m_pPage; | |
| 673 void Transform(const CFX_AffineMatrix& matrix) override; | 672 void Transform(const CFX_AffineMatrix& matrix) override; |
| 674 | 673 |
| 675 void CalcBoundingBox(); | 674 void CalcBoundingBox(); |
| 676 | 675 |
| 677 protected: | 676 protected: |
| 678 void CopyData(const CPDF_PageObject* pSrcObject) override; | 677 void CopyData(const CPDF_PageObject* pSrcObject) override; |
| 679 }; | 678 }; |
| 680 | 679 |
| 681 class CPDF_FormObject : public CPDF_PageObject | 680 class CPDF_FormObject : public CPDF_PageObject |
| 682 { | 681 { |
| (...skipping 11 matching lines...) Expand all Loading... |
| 694 | 693 |
| 695 CFX_AffineMatrix m_FormMatrix; | 694 CFX_AffineMatrix m_FormMatrix; |
| 696 | 695 |
| 697 void CalcBoundingBox(); | 696 void CalcBoundingBox(); |
| 698 | 697 |
| 699 protected: | 698 protected: |
| 700 void CopyData(const CPDF_PageObject* pSrcObject) override; | 699 void CopyData(const CPDF_PageObject* pSrcObject) override; |
| 701 }; | 700 }; |
| 702 | 701 |
| 703 #endif // CORE_INCLUDE_FPDFAPI_FPDF_PAGEOBJ_H_ | 702 #endif // CORE_INCLUDE_FPDFAPI_FPDF_PAGEOBJ_H_ |
| OLD | NEW |