7#ifndef __KIS_COLORIZE_STROKE_STRATEGY_H
8#define __KIS_COLORIZE_STROKE_STRATEGY_H
10#include <QScopedPointer>
19struct FilteringOptions;
31 bool filteredSourceValid,
32 const QRect &boundingRect,
34 bool prefilterOnly =
false);
56 const QScopedPointer<Private>
m_d;
float value(const T *src, size_t ch)
void setFilteringOptions(const KisLazyFillTools::FilteringOptions &value)
const QScopedPointer< Private > m_d
void tryCancelCurrentStrokeJobAsync() override
tryCancelCurrentStrokeJobAsync is called by the strokes queue when the stroke is being cancelled....
KisColorizeStrokeStrategy(KisPaintDeviceSP src, KisPaintDeviceSP dst, KisPaintDeviceSP filteredSource, bool filteredSourceValid, const QRect &boundingRect, KisNodeSP progressNode, bool prefilterOnly=false)
void initStrokeCallback() override
KisStrokeStrategy * createLodClone(int levelOfDetail) override
KisLazyFillTools::FilteringOptions filteringOptions() const
~KisColorizeStrokeStrategy() override
void cancelStrokeCallback() override
void addKeyStroke(KisPaintDeviceSP dev, const KoColor &color)
void sigFinished(bool prefilterOnly)