Krita Source Code Documentation
Loading...
Searching...
No Matches
KoColorSpaceConstants.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2006 Cyrille Berger <cberger@cberger.bet
3 *
4 * SPDX-License-Identifier: LGPL-2.1-or-later
5*/
6
7#ifndef _KO_COLOR_SPACE_CONSTANTS_H_
8#define _KO_COLOR_SPACE_CONSTANTS_H_
9
10#include <climits>
11#include <QtGlobal>
12
13// TODO: find a better place or way to define those stuff
14const quint8 OPACITY_TRANSPARENT_U8 = 0;
15const quint8 OPACITY_OPAQUE_U8 = UCHAR_MAX;
16const qreal OPACITY_TRANSPARENT_F = 0.0;
17const qreal OPACITY_OPAQUE_F = 1.0;
18
19#endif
const quint8 OPACITY_TRANSPARENT_U8
const qreal OPACITY_OPAQUE_F
const quint8 OPACITY_OPAQUE_U8
const qreal OPACITY_TRANSPARENT_F