Krita Source Code Documentation
Loading...
Searching...
No Matches
KoAdditiveBlendingPolicy< Traits > Struct Template Reference

default blending policy used in additive color spaces More...

#include <KoColorSpaceBlendingPolicy.h>

Public Types

using channels_type = typename Traits::channels_type
 

Static Public Member Functions

static channels_type fromAdditiveSpace (channels_type value)
 
static channels_type toAdditiveSpace (channels_type value)
 

Detailed Description

template<typename Traits>
struct KoAdditiveBlendingPolicy< Traits >

default blending policy used in additive color spaces

Definition at line 17 of file KoColorSpaceBlendingPolicy.h.

Member Typedef Documentation

◆ channels_type

template<typename Traits >
using KoAdditiveBlendingPolicy< Traits >::channels_type = typename Traits::channels_type

Definition at line 19 of file KoColorSpaceBlendingPolicy.h.

Member Function Documentation

◆ fromAdditiveSpace()

template<typename Traits >
static channels_type KoAdditiveBlendingPolicy< Traits >::fromAdditiveSpace ( channels_type value)
inlinestatic

Definition at line 24 of file KoColorSpaceBlendingPolicy.h.

24 {
25 return value;
26 }
float value(const T *src, size_t ch)

References value().

◆ toAdditiveSpace()

template<typename Traits >
static channels_type KoAdditiveBlendingPolicy< Traits >::toAdditiveSpace ( channels_type value)
inlinestatic

Definition at line 20 of file KoColorSpaceBlendingPolicy.h.

20 {
21 return value;
22 }

References value().


The documentation for this struct was generated from the following file: