OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 PDFium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
| 6 |
| 7 #ifndef CORE_FPDFAPI_FPDF_PAGE_CPDF_TILINGPATTERN_H_ |
| 8 #define CORE_FPDFAPI_FPDF_PAGE_CPDF_TILINGPATTERN_H_ |
| 9 |
| 10 #include "core/fpdfapi/fpdf_page/cpdf_pattern.h" |
| 11 #include "core/fxcrt/include/fx_coordinates.h" |
| 12 #include "core/fxcrt/include/fx_system.h" |
| 13 |
| 14 class CPDF_Document; |
| 15 class CPDF_Form; |
| 16 class CPDF_Object; |
| 17 |
| 18 class CPDF_TilingPattern : public CPDF_Pattern { |
| 19 public: |
| 20 CPDF_TilingPattern(CPDF_Document* pDoc, |
| 21 CPDF_Object* pPatternObj, |
| 22 const CFX_Matrix* parentMatrix); |
| 23 ~CPDF_TilingPattern() override; |
| 24 |
| 25 FX_BOOL Load(); |
| 26 |
| 27 FX_BOOL m_bColored; |
| 28 CFX_FloatRect m_BBox; |
| 29 FX_FLOAT m_XStep; |
| 30 FX_FLOAT m_YStep; |
| 31 CPDF_Form* m_pForm; |
| 32 }; |
| 33 |
| 34 #endif // CORE_FPDFAPI_FPDF_PAGE_CPDF_TILINGPATTERN_H_ |
OLD | NEW |