6#ifndef KOCOLORSPACEBLENDINGPOLICY_H
7#define KOCOLORSPACEBLENDINGPOLICY_H
9#include <kritapigment_export.h>
16template<
typename Traits>
35template<
typename Traits>
41 return Traits::math_trait::unitValue -
value;
45 return Traits::math_trait::unitValue -
value;
float value(const T *src, size_t ch)
KRITAPIGMENT_EXPORT QStringList subtractiveBlendingModesInCmyk()
the list of blendmodes that perform channel-inversion in CMYK color space
KRITAPIGMENT_EXPORT bool useSubtractiveBlendingForCmykColorSpaces()
default blending policy used in additive color spaces
static channels_type fromAdditiveSpace(channels_type value)
static channels_type toAdditiveSpace(channels_type value)
typename Traits::channels_type channels_type
a plending policy used for subtractive color spaces (e.g. CMYK)
typename Traits::channels_type channels_type
static channels_type fromAdditiveSpace(channels_type value)
static channels_type toAdditiveSpace(channels_type value)