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++
/*
* SPDX-FileCopyrightText: 2006 Cyrille Berger <[email protected]
*
* SPDX-License-Identifier: LGPL-2.1-or-later
*/
#ifndef _KO_COLOR_SPACE_CONSTANTS_H_
#define _KO_COLOR_SPACE_CONSTANTS_H_
#include <climits>
#include <QtGlobal>
// TODO: find a better place or way to define those stuff
const quint8 OPACITY_TRANSPARENT_U8 = 0;
const quint8 OPACITY_OPAQUE_U8 = UCHAR_MAX;
const qreal OPACITY_TRANSPARENT_F = 0.0;
const qreal OPACITY_OPAQUE_F = 1.0;
#endif