ACF $AcfVersion:0$
CCmykColorModel.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
186{
187public:
189
202
203 // reimplemented (icmm::IColorantList)
204 virtual ColorantIds GetColorantIds() const override;
205 virtual icmm::ColorantUsage GetColorantUsage(const ColorantId& colorantId) const override;
206
207 // reimplemented ISubstractiveColorModel
208 virtual std::unique_ptr<ISubstractiveColorModel> CreateSubspaceModel(const QStringList& colorantIds) const override;
209
210 // reimplemented (istd::IChangeable)
212};
213
214
215} // namespace icmm
216
217
CMYK color model implementation for four-color printing.
virtual icmm::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.
static ColorantId GetBlack()
Gets the colorant ID for the black (K) component.
virtual istd::IChangeableUniquePtr CloneMe(CompatibilityMode mode=CM_WITHOUT_REFS) const override
Make a copy of this object.
virtual std::unique_ptr< ISubstractiveColorModel > CreateSubspaceModel(const QStringList &colorantIds) const override
Create ColorModel of the subspace.
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