1 // Copyright 2020 The PDFium Authors 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_RENDER_CPDF_RENDERTILING_H_ 8 #define CORE_FPDFAPI_RENDER_CPDF_RENDERTILING_H_ 9 10 #include "core/fxcrt/retain_ptr.h" 11 12 class CFX_DIBitmap; 13 class CFX_Matrix; 14 class CPDF_Form; 15 class CPDF_PageObject; 16 class CPDF_RenderStatus; 17 class CPDF_TilingPattern; 18 struct FX_RECT; 19 20 class CPDF_RenderTiling { 21 public: 22 static RetainPtr<CFX_DIBitmap> Draw(CPDF_RenderStatus* pRenderStatus, 23 CPDF_PageObject* pPageObj, 24 CPDF_TilingPattern* pPattern, 25 CPDF_Form* pPatternForm, 26 const CFX_Matrix& mtObj2Device, 27 const FX_RECT& clip_box, 28 bool bStroke); 29 30 CPDF_RenderTiling() = delete; 31 CPDF_RenderTiling(const CPDF_RenderTiling&) = delete; 32 CPDF_RenderTiling& operator=(const CPDF_RenderTiling&) = delete; 33 }; 34 35 #endif // CORE_FPDFAPI_RENDER_CPDF_RENDERTILING_H_ 36