Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
cpdf_pagerendercontext.h
Go to the documentation of this file.
1
// Copyright 2016 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_PAGERENDERCONTEXT_H_
8
#
define
CORE_FPDFAPI_RENDER_CPDF_PAGERENDERCONTEXT_H_
9
10
#
include
<
memory
>
11
12
#
include
"core/fpdfapi/page/cpdf_page.h"
13
14
class
CFX_RenderDevice
;
15
class
CPDF_ProgressiveRenderer
;
16
class
CPDF_RenderContext
;
17
class
CPDF_RenderOptions
;
18
19
// Everything about rendering is put here: for OOM recovery
20
class
CPDF_PageRenderContext
final
:
public
CPDF_Page::
RenderContextIface
{
21
public
:
22
// Context merely manages the lifetime for callers.
23
class
AnnotListIface
{
24
public
:
25
virtual
~
AnnotListIface
() =
default
;
26
};
27
28
CPDF_PageRenderContext
();
29
~
CPDF_PageRenderContext
()
override
;
30
31
// Specific destruction order required.
32
std
::
unique_ptr
<
AnnotListIface
>
m_pAnnots
;
33
std
::
unique_ptr
<
CPDF_RenderOptions
>
m_pOptions
;
34
std
::
unique_ptr
<
CFX_RenderDevice
>
m_pDevice
;
35
std
::
unique_ptr
<
CPDF_RenderContext
>
m_pContext
;
36
std
::
unique_ptr
<
CPDF_ProgressiveRenderer
>
m_pRenderer
;
37
};
38
39
#
endif
// CORE_FPDFAPI_RENDER_CPDF_PAGERENDERCONTEXT_H_
CFX_RenderDevice
Definition
cfx_renderdevice.h:39
CPDF_PageRenderContext::AnnotListIface
Definition
cpdf_pagerendercontext.h:23
CPDF_PageRenderContext::AnnotListIface::~AnnotListIface
virtual ~AnnotListIface()=default
CPDF_PageRenderContext::CPDF_PageRenderContext
CPDF_PageRenderContext()
CPDF_PageRenderContext::m_pContext
std::unique_ptr< CPDF_RenderContext > m_pContext
Definition
cpdf_pagerendercontext.h:35
CPDF_PageRenderContext::m_pOptions
std::unique_ptr< CPDF_RenderOptions > m_pOptions
Definition
cpdf_pagerendercontext.h:33
CPDF_PageRenderContext::m_pAnnots
std::unique_ptr< AnnotListIface > m_pAnnots
Definition
cpdf_pagerendercontext.h:32
CPDF_PageRenderContext::~CPDF_PageRenderContext
~CPDF_PageRenderContext() override
CPDF_PageRenderContext::m_pDevice
std::unique_ptr< CFX_RenderDevice > m_pDevice
Definition
cpdf_pagerendercontext.h:34
CPDF_PageRenderContext::m_pRenderer
std::unique_ptr< CPDF_ProgressiveRenderer > m_pRenderer
Definition
cpdf_pagerendercontext.h:36
CPDF_Page::RenderContextIface
Definition
cpdf_page.h:37
CPDF_ProgressiveRenderer
Definition
cpdf_progressiverenderer.h:24
CPDF_RenderContext
Definition
cpdf_rendercontext.h:26
CPDF_RenderOptions
Definition
cpdf_renderoptions.h:19
qtwebengine
src
3rdparty
chromium
third_party
pdfium
core
fpdfapi
render
cpdf_pagerendercontext.h
Generated on Sat Sep 21 2024 00:53:42 for Qt by
1.12.0