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_windowsrenderdevice.cpp
Go to the documentation of this file.
1
// Copyright 2019 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
#
include
"core/fpdfapi/render/cpdf_windowsrenderdevice.h"
8
9
#
include
<
sstream
>
10
11
#
include
"core/fxcodec/basic/basicmodule.h"
12
#
include
"core/fxcodec/fax/faxmodule.h"
13
#
include
"core/fxcodec/flate/flatemodule.h"
14
#
include
"core/fxcodec/jpeg/jpegmodule.h"
15
#
include
"core/fxge/win32/cfx_psrenderer.h"
16
17
namespace
{
18
19
constexpr
EncoderIface
kEncoderIface = {
20
BasicModule::A85Encode, FaxModule::FaxEncode, FlateModule::Encode,
21
JpegModule::JpegEncode, BasicModule::RunLengthEncode};
22
23
}
// namespace
24
25
CPDF_WindowsRenderDevice::
CPDF_WindowsRenderDevice
(
26
HDC hDC,
27
CFX_PSFontTracker
* ps_font_tracker)
28
:
CFX_WindowsRenderDevice
(hDC, ps_font_tracker, &kEncoderIface) {}
29
30
CPDF_WindowsRenderDevice::~
CPDF_WindowsRenderDevice
() =
default
;
CFX_PSFontTracker
Definition
cfx_psfonttracker.h:17
CFX_WindowsRenderDevice
Definition
cfx_windowsrenderdevice.h:31
CPDF_WindowsRenderDevice::~CPDF_WindowsRenderDevice
~CPDF_WindowsRenderDevice() override
CPDF_WindowsRenderDevice::CPDF_WindowsRenderDevice
CPDF_WindowsRenderDevice(HDC hDC, CFX_PSFontTracker *ps_font_tracker)
Definition
cpdf_windowsrenderdevice.cpp:25
EncoderIface
Definition
cfx_psrenderer.h:38
qtwebengine
src
3rdparty
chromium
third_party
pdfium
core
fpdfapi
render
cpdf_windowsrenderdevice.cpp
Generated on Sat Sep 21 2024 00:53:50 for Qt by
1.12.0