|
Krita Source Code Documentation
|
#include "kis_color_to_alpha.h"#include <QCheckBox>#include <QSpinBox>#include <KoColorSpaceMaths.h>#include <KoConfig.h>#include <KoUpdater.h>#include "kis_progress_update_helper.h"#include <kis_paint_device.h>#include <kis_selection.h>#include <filter/kis_filter_category_ids.h>#include <filter/kis_filter_configuration.h>#include <kis_processing_information.h>#include "ui_wdgcolortoalphabase.h"#include "kis_wdg_color_to_alpha.h"#include <kis_iterator_ng.h>#include <KisSequentialIteratorProgress.h>Go to the source code of this file.
Functions | |
| template<typename channel_type , typename composite_type > | |
| void | applyToIterator (const int numChannels, const int *channelIndex, KisSequentialIteratorProgress &it, KoColor baseColor, int threshold, const KoColorSpace *cs) |
| template<typename channel_type , typename composite_type > | |
| void | inverseOver (const int numChannels, const int *channelIndex, channel_type *dst, const channel_type *baseColor, qreal dstOpacity) |
| void applyToIterator | ( | const int | numChannels, |
| const int * | channelIndex, | ||
| KisSequentialIteratorProgress & | it, | ||
| KoColor | baseColor, | ||
| int | threshold, | ||
| const KoColorSpace * | cs ) |
Definition at line 65 of file kis_color_to_alpha.cpp.
References KoColor::data(), KoColorSpace::difference(), KisSequentialIteratorBase< IteratorPolicy, SourcePolicy, ProgressPolicy >::nextPixel(), KisSequentialIteratorBase< IteratorPolicy, SourcePolicy, ProgressPolicy >::rawData(), and KoColorSpace::setOpacity().
|
inline |
Definition at line 52 of file kis_color_to_alpha.cpp.
References KoColorSpaceMaths< _T, _Tdst >::clamp().