Krita Source Code Documentation
Loading...
Searching...
No Matches
KoSimpleColorSpaceEngine.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2009 Boudewijn Rempt <boud@valdyas.org>
3 *
4 * SPDX-License-Identifier: LGPL-2.1-or-later
5 */
6
7#ifndef _KO_SIMPLE_COLOR_SPACE_ENGINE_H_
8#define _KO_SIMPLE_COLOR_SPACE_ENGINE_H_
9
10#include <QVector>
11
12#include <KoColorSpaceEngine.h>
13
15{
16public:
20 const KoColorSpace* dstColorSpace,
22 KoColorConversionTransformation::ConversionFlags conversionFlags) const override;
23 const KoColorProfile* addProfile(const QString &profile ) override { Q_UNUSED(profile); return 0; }
24 const KoColorProfile* addProfile(const QByteArray &data) override { Q_UNUSED(data); return 0; }
25 void removeProfile(const QString &profile ) override { Q_UNUSED(profile); }
26
27 const KoColorProfile * getProfile(const KoColorProfileQuery &query) override {
28 Q_UNUSED(query);
29 return nullptr;
30 }
31};
32
33#endif
const KoColorProfile * getProfile(const KoColorProfileQuery &query) override
getProfile This tries to generate a profile with the given characteristics and add it to the registry...
const KoColorProfile * addProfile(const QString &profile) override
KoColorConversionTransformation * createColorTransformation(const KoColorSpace *srcColorSpace, const KoColorSpace *dstColorSpace, KoColorConversionTransformation::Intent renderingIntent, KoColorConversionTransformation::ConversionFlags conversionFlags) const override
void removeProfile(const QString &profile) override
const KoColorProfile * addProfile(const QByteArray &data) override
The KoColorProfileQuery struct.