| // Copyright 2020 The PDFium Authors |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
| #ifndef FPDFSDK_CPDFSDK_RENDERPAGE_H_ |
| #define FPDFSDK_CPDFSDK_RENDERPAGE_H_ |
| #include "public/fpdfview.h" |
| class CPDFSDK_PauseAdapter; |
| class CPDF_PageRenderContext; |
| void CPDFSDK_RenderPage(CPDF_PageRenderContext* pContext, |
| const CFX_Matrix& matrix, |
| const FX_RECT& clipping_rect, |
| const FPDF_COLORSCHEME* color_scheme); |
| // TODO(thestig): Consider giving this a better name, and make its parameters |
| // more similar to those of CPDFSDK_RenderPage(). |
| void CPDFSDK_RenderPageWithContext(CPDF_PageRenderContext* pContext, |
| const FPDF_COLORSCHEME* color_scheme, |
| CPDFSDK_PauseAdapter* pause); |
| #endif // FPDFSDK_CPDFSDK_RENDERPAGE_H_ |