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