Krita Source Code Documentation
Loading...
Searching...
No Matches
KoColorConversionTransformationFactory.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2007 Cyrille Berger <cberger@cberger.net>
3 *
4 * SPDX-License-Identifier: LGPL-2.1-or-later
5*/
6
7#ifndef _KO_COLOR_CONVERSION_TRANSFORMATION_FACTORY_H_
8#define _KO_COLOR_CONVERSION_TRANSFORMATION_FACTORY_H_
9
10class KoColorSpace;
12
13#include <QString>
15
20{
21public:
34 KoColorConversionTransformationFactory(const QString &_srcModelId, const QString &_srcDepthId, const QString &_srcProfile, const QString &_dstModelId, const QString &_dstDepthId, const QString &_dstProfile);
36
37public:
41 QString srcColorModelId() const;
45 QString srcColorDepthId() const;
50 QString srcProfile() const;
54 QString dstColorModelId() const;
58 QString dstColorDepthId() const;
63 QString dstProfile() const;
64protected:
69 bool canBeSource(const KoColorSpace* srcCS) const;
74 bool canBeDestination(const KoColorSpace* dstCS) const;
75private:
76 struct Private;
77 Private* const d;
78};
79
80#endif