| 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_CPDF_TILINGPATTERN_H_ | 7 #ifndef CORE_FPDFAPI_FPDF_PAGE_CPDF_TILINGPATTERN_H_ |
| 8 #define CORE_FPDFAPI_FPDF_PAGE_CPDF_TILINGPATTERN_H_ | 8 #define CORE_FPDFAPI_FPDF_PAGE_CPDF_TILINGPATTERN_H_ |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| 11 | 11 |
| 12 #include "core/fpdfapi/fpdf_page/cpdf_pattern.h" | 12 #include "core/fpdfapi/fpdf_page/cpdf_pattern.h" |
| 13 #include "core/fxcrt/include/fx_coordinates.h" | 13 #include "core/fxcrt/fx_coordinates.h" |
| 14 #include "core/fxcrt/include/fx_system.h" | 14 #include "core/fxcrt/fx_system.h" |
| 15 | 15 |
| 16 class CPDF_Document; | 16 class CPDF_Document; |
| 17 class CPDF_Form; | 17 class CPDF_Form; |
| 18 class CPDF_Object; | 18 class CPDF_Object; |
| 19 | 19 |
| 20 class CPDF_TilingPattern : public CPDF_Pattern { | 20 class CPDF_TilingPattern : public CPDF_Pattern { |
| 21 public: | 21 public: |
| 22 CPDF_TilingPattern(CPDF_Document* pDoc, | 22 CPDF_TilingPattern(CPDF_Document* pDoc, |
| 23 CPDF_Object* pPatternObj, | 23 CPDF_Object* pPatternObj, |
| 24 const CFX_Matrix& parentMatrix); | 24 const CFX_Matrix& parentMatrix); |
| (...skipping 12 matching lines...) Expand all Loading... |
| 37 | 37 |
| 38 private: | 38 private: |
| 39 bool m_bColored; | 39 bool m_bColored; |
| 40 CFX_FloatRect m_BBox; | 40 CFX_FloatRect m_BBox; |
| 41 FX_FLOAT m_XStep; | 41 FX_FLOAT m_XStep; |
| 42 FX_FLOAT m_YStep; | 42 FX_FLOAT m_YStep; |
| 43 std::unique_ptr<CPDF_Form> m_pForm; | 43 std::unique_ptr<CPDF_Form> m_pForm; |
| 44 }; | 44 }; |
| 45 | 45 |
| 46 #endif // CORE_FPDFAPI_FPDF_PAGE_CPDF_TILINGPATTERN_H_ | 46 #endif // CORE_FPDFAPI_FPDF_PAGE_CPDF_TILINGPATTERN_H_ |
| OLD | NEW |