You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
1.3 KiB
36 lines
1.3 KiB
// 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. http://www.foxitsoftware.com
|
|
|
|
#ifndef FPDFSDK_CPDFSDK_RENDERPAGE_H_
|
|
#define FPDFSDK_CPDFSDK_RENDERPAGE_H_
|
|
|
|
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);
|
|
|
|
#endif // FPDFSDK_CPDFSDK_RENDERPAGE_H_
|