Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
Loading...
Searching...
No Matches
cpdf_basedcs.h
Go to the documentation of this file.
1
// Copyright 2021 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_PAGE_CPDF_BASEDCS_H_
8
#
define
CORE_FPDFAPI_PAGE_CPDF_BASEDCS_H_
9
10
#
include
"core/fpdfapi/page/cpdf_colorspace.h"
11
#
include
"core/fxcrt/retain_ptr.h"
12
13
// Represents a color space that is based on another color space. This includes
14
// all the special color spaces in ISO 32000-1:2008, table 62, as well as the
15
// ICCBased color space.
16
class
CPDF_BasedCS
:
public
CPDF_ColorSpace
{
17
public
:
18
CONSTRUCT_VIA_MAKE_RETAIN
;
19
~
CPDF_BasedCS
()
override
;
20
21
void
EnableStdConversion
(
bool
bEnabled)
final
;
22
23
protected
:
24
explicit
CPDF_BasedCS
(
Family
family);
25
26
RetainPtr
<
CPDF_ColorSpace
>
m_pBaseCS
;
// May be fallback CS in some cases.
27
};
28
29
#
endif
// CORE_FPDFAPI_PAGE_CPDF_BASEDCS_H_
CPDF_BasedCS
Definition
cpdf_basedcs.h:16
CPDF_BasedCS::CPDF_BasedCS
CPDF_BasedCS(Family family)
Definition
cpdf_basedcs.cpp:9
CPDF_BasedCS::EnableStdConversion
void EnableStdConversion(bool bEnabled) final
Definition
cpdf_basedcs.cpp:13
CPDF_BasedCS::~CPDF_BasedCS
~CPDF_BasedCS() override
CPDF_BasedCS::m_pBaseCS
RetainPtr< CPDF_ColorSpace > m_pBaseCS
Definition
cpdf_basedcs.h:26
CPDF_ColorSpace
Definition
cpdf_colorspace.h:53
CPDF_ColorSpace::Family
Family
Definition
cpdf_colorspace.h:55
CPDF_ColorSpace::EnableStdConversion
virtual void EnableStdConversion(bool bEnabled)
Definition
cpdf_colorspace.cpp:641
CPDF_ColorSpace::CPDF_ColorSpace
CPDF_ColorSpace(Family family)
Definition
cpdf_colorspace.cpp:663
fxcrt::RetainPtr
Definition
retain_ptr.h:28
CONSTRUCT_VIA_MAKE_RETAIN
#define CONSTRUCT_VIA_MAKE_RETAIN
Definition
retain_ptr.h:222
qtwebengine
src
3rdparty
chromium
third_party
pdfium
core
fpdfapi
page
cpdf_basedcs.h
Generated on
for Qt by
1.18.0