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
18
19// Everything about rendering is put here: for OOM recovery
20class CPDF_PageRenderContext final : public CPDF_Page::RenderContextIface {
21 public:
22 // Context merely manages the lifetime for callers.
24 public:
25 virtual ~AnnotListIface() = default;
26 };
27
30
31 // Specific destruction order required.
37};
38
39#endif // CORE_FPDFAPI_RENDER_CPDF_PAGERENDERCONTEXT_H_
std::unique_ptr< CPDF_RenderContext > m_pContext
std::unique_ptr< CPDF_RenderOptions > m_pOptions
std::unique_ptr< AnnotListIface > m_pAnnots
~CPDF_PageRenderContext() override
std::unique_ptr< CFX_RenderDevice > m_pDevice
std::unique_ptr< CPDF_ProgressiveRenderer > m_pRenderer