ACF $AcfVersion:0$
CCmyColorModel.h
Go to the documentation of this file.
1// SPDX-License-Identifier: LGPL-2.1-or-later OR GPL-2.0-or-later OR GPL-3.0-or-later OR LicenseRef-ACF-Commercial
2#pragma once
3
4
5// ACF includes
7
8
9namespace icmm
10{
11
12
14{
15public:
19
20 // reimplemented (icmm::IColorantList)
21 virtual ColorantIds GetColorantIds() const override;
22 virtual ColorantUsage GetColorantUsage(const ColorantId& colorantId) const override;
23
24 // reimplemented ISubstractiveColorModel
25 virtual std::unique_ptr<ISubstractiveColorModel> CreateSubspaceModel(const QStringList& colorantIds) const override;
26
27 // reimplemented (istd::IChangeable)
29};
30
31
32} // namespace icmm
33
34
static ColorantId GetYellow()
static ColorantId GetCyan()
static ColorantId GetMagenta()
virtual std::unique_ptr< ISubstractiveColorModel > CreateSubspaceModel(const QStringList &colorantIds) const override
Create ColorModel of the subspace.
virtual istd::IChangeableUniquePtr CloneMe(CompatibilityMode mode=CM_WITHOUT_REFS) const override
Make a copy of this object.
virtual ColorantUsage GetColorantUsage(const ColorantId &colorantId) const override
Get type of the colorant with the given ID.
virtual ColorantIds GetColorantIds() const override
Get the list of colorant-IDs.
QStringList ColorantIds
CompatibilityMode
Control how relationship betweeen objects are interpreted.
@ CM_WITHOUT_REFS
External references are simple ignored.
Contains color management classes.
ColorantUsage
Usage of a colorant.
Definition icmm.h:183