plugins/paintops/libpaintop
kis_pressure_darken_option.cpp
Go to the documentation of this file.
20 KoColor KisPressureDarkenOption::apply(KisPainter * painter, const KisPaintInformation& info) const
32 KoColorTransformation* darkenTransformation = darkened.colorSpace()->createDarkenAdjustment(darkenAmount, false, 0.0);
41 void KisPressureDarkenOption::apply(KisColorSource* colorSource, const KisPaintInformation& info) const
48 KoColorTransformation* darkenTransformation = colorSource->colorSpace()->createDarkenAdjustment(darkenAmount, false, 0.0);
KisCurveOption is the base class for paintop options that are defined through one or more curves.
Definition: kis_curve_option.h:34
KoColor apply(KisPainter *painter, const KisPaintInformation &info) const
Definition: kis_pressure_darken_option.cpp:20
KisPressureDarkenOption()
Definition: kis_pressure_darken_option.cpp:14
A color source allow to abstract how a brush is colorized, and to apply transformation.
Definition: kis_color_source.h:29
virtual const KoColorSpace * colorSpace() const =0
qreal computeSizeLikeValue(const KisPaintInformation &info) const
Definition: kis_curve_option.cpp:461
virtual void applyColorTransformation(const KoColorTransformation *transfo)=0
Apply a color transformation on the selected color.
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Wed Jan 20 2021 23:47:25 by doxygen 1.8.16 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2021 The KDE developers.
Generated on Wed Jan 20 2021 23:47:25 by doxygen 1.8.16 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.