blob: cb7a600b2e807f553ab01da585f03980976e1d9b [file] [log] [blame]
// Copyright 2020 PDFium Authors. All rights reserved.
// 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.
class CFX_Matrix;
class CPDFSDK_PauseAdapter;
class CPDF_Page;
class CPDF_PageRenderContext;
struct FX_RECT;
void CPDFSDK_RenderPage(CPDF_PageRenderContext* pContext,
CPDF_Page* pPage,
const CFX_Matrix& matrix,
const FX_RECT& clipping_rect,
int flags);
// 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,
CPDF_Page* pPage,
int start_x,
int start_y,
int size_x,
int size_y,
int rotate,
int flags,
bool need_to_restore,
CPDFSDK_PauseAdapter* pause);