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_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.
17 public:
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(Family family)
void EnableStdConversion(bool bEnabled) final
~CPDF_BasedCS() override
RetainPtr< CPDF_ColorSpace > m_pBaseCS
virtual void EnableStdConversion(bool bEnabled)
CPDF_ColorSpace(Family family)
#define CONSTRUCT_VIA_MAKE_RETAIN
Definition retain_ptr.h:224