| OLD | NEW |
| 1 // Copyright 2016 PDFium Authors. All rights reserved. | 1 // Copyright 2016 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_FPDFAPI_FPDF_PAGE_INCLUDE_CPDF_IMAGEOBJECT_H_ | 7 #ifndef CORE_FPDFAPI_FPDF_PAGE_CPDF_IMAGEOBJECT_H_ |
| 8 #define CORE_FPDFAPI_FPDF_PAGE_INCLUDE_CPDF_IMAGEOBJECT_H_ | 8 #define CORE_FPDFAPI_FPDF_PAGE_CPDF_IMAGEOBJECT_H_ |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| 11 | 11 |
| 12 #include "core/fpdfapi/fpdf_page/include/cpdf_pageobject.h" | 12 #include "core/fpdfapi/fpdf_page/cpdf_pageobject.h" |
| 13 #include "core/fxcrt/include/fx_coordinates.h" | 13 #include "core/fxcrt/include/fx_coordinates.h" |
| 14 | 14 |
| 15 class CPDF_Image; | 15 class CPDF_Image; |
| 16 | 16 |
| 17 class CPDF_ImageObject : public CPDF_PageObject { | 17 class CPDF_ImageObject : public CPDF_PageObject { |
| 18 public: | 18 public: |
| 19 CPDF_ImageObject(); | 19 CPDF_ImageObject(); |
| 20 ~CPDF_ImageObject() override; | 20 ~CPDF_ImageObject() override; |
| 21 | 21 |
| 22 // CPDF_PageObject | 22 // CPDF_PageObject |
| (...skipping 11 matching lines...) Expand all Loading... |
| 34 | 34 |
| 35 CFX_Matrix m_Matrix; | 35 CFX_Matrix m_Matrix; |
| 36 | 36 |
| 37 private: | 37 private: |
| 38 void Release(); | 38 void Release(); |
| 39 | 39 |
| 40 CPDF_Image* m_pImage; | 40 CPDF_Image* m_pImage; |
| 41 bool m_pImageOwned; | 41 bool m_pImageOwned; |
| 42 }; | 42 }; |
| 43 | 43 |
| 44 #endif // CORE_FPDFAPI_FPDF_PAGE_INCLUDE_CPDF_IMAGEOBJECT_H_ | 44 #endif // CORE_FPDFAPI_FPDF_PAGE_CPDF_IMAGEOBJECT_H_ |
| OLD | NEW |