Krita Source Code Documentation
Loading...
Searching...
No Matches
CFFrect< T > Struct Template Reference

#include <KoCompositeOpFunctions.h>

+ Inheritance diagram for CFFrect< T >:

Static Public Member Functions

static T composeChannel (T src, T dst)
 
- Static Public Member Functions inherited from KoClampedSourceAndDestinationCompositeOpGenericFunctorBase< T >
static T clampDestinationChannelValue (T value)
 
static T clampSourceChannelValue (T value)
 

Detailed Description

template<typename T>
struct CFFrect< T >

Definition at line 912 of file KoCompositeOpFunctions.h.

Member Function Documentation

◆ composeChannel()

template<typename T >
static T CFFrect< T >::composeChannel ( T src,
T dst )
inlinestatic

Definition at line 913 of file KoCompositeOpFunctions.h.

913 {
914 using namespace Arithmetic;
915
916 if (isUnitValueFuzzy<T>(CFHardMixPhotoshop<T>::composeChannel(src,dst))) {
917 return cfFreeze(src,dst);
918 }
919
920 if (isZeroValueFuzzy<T>(dst)) {
921 return zeroValue<T>();
922 }
923
924 return (cfReflect(src,dst));
925 }
T cfFreeze(T src, T dst)
T cfReflect(T src, T dst)

References cfFreeze(), and cfReflect().


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