Skip to content

armgit / krita

Public Imported from GitHub
0

Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.

C++
1.3 KB
Raw Blame
/*
 *  SPDX-FileCopyrightText: 2009 Boudewijn Rempt <[email protected]>
 *
 * SPDX-License-Identifier: LGPL-2.1-or-later
 */

#ifndef _KO_SIMPLE_COLOR_SPACE_ENGINE_H_
#define _KO_SIMPLE_COLOR_SPACE_ENGINE_H_

#include <QVector>

#include <KoColorSpaceEngine.h>

class KoSimpleColorSpaceEngine : public KoColorSpaceEngine
{
public:
    KoSimpleColorSpaceEngine();
    ~KoSimpleColorSpaceEngine() override;
    KoColorConversionTransformation* createColorTransformation(const KoColorSpace* srcColorSpace,
                                                                       const KoColorSpace* dstColorSpace,
                                                                       KoColorConversionTransformation::Intent renderingIntent,
                                                                       KoColorConversionTransformation::ConversionFlags conversionFlags) const override;
    const KoColorProfile* addProfile(const QString &profile ) override { Q_UNUSED(profile); return 0; }
    const KoColorProfile* addProfile(const QByteArray &data) override { Q_UNUSED(data); return 0; }
    void removeProfile(const QString &profile ) override { Q_UNUSED(profile); }

    const KoColorProfile * getProfile(const KoColorProfileQuery &query) override {
        Q_UNUSED(query);
        return nullptr;
    }
};

#endif