Changeset View
Changeset View
Standalone View
Standalone View
libs/pigment/compositeops/KoCompositeOpFunctions.h
Context not available. | |||||
793 | template<class T> | 793 | template<class T> | ||
---|---|---|---|---|---|
794 | inline T cfFogLightenIFSIllusions(T src, T dst) { | 794 | inline T cfFogLightenIFSIllusions(T src, T dst) { | ||
795 | using namespace Arithmetic; | 795 | using namespace Arithmetic; | ||
796 | //Known as Bright Blending mode found in IFS Illusions. Picked this name because the shading reminds me of fog when overlaying with a gradientt. | 796 | //Known as Bright Blending mode found in IFS Illusions. Picked this name because the shading reminds me of fog when overlaying with a gradient. | ||
797 | 797 | | |||
798 | qreal fsrc = scale<qreal>(src); | 798 | qreal fsrc = scale<qreal>(src); | ||
799 | qreal fdst = scale<qreal>(dst); | 799 | qreal fdst = scale<qreal>(dst); | ||
Context not available. | |||||
844 | template<class T> | 844 | template<class T> | ||
845 | inline T cfModuloShiftContinuous(T src, T dst) { | 845 | inline T cfModuloShiftContinuous(T src, T dst) { | ||
846 | using namespace Arithmetic; | 846 | using namespace Arithmetic; | ||
847 | //This blending mode do not behave like difference/equilavent with destination layer inverted if you use group layer on addition while the content of group layer contains several addition-mode layers, it works as expected on float images. So, no need to change this. | 847 | //This blending mode do not behave like difference/equivalent with destination layer inverted if you use group layer on addition while the content of group layer contains several addition-mode layers, it works as expected on float images. So, no need to change this. | ||
848 | qreal fsrc = scale<qreal>(src); | 848 | qreal fsrc = scale<qreal>(src); | ||
849 | qreal fdst = scale<qreal>(dst); | 849 | qreal fdst = scale<qreal>(dst); | ||
850 | 850 | | |||
Context not available. |