7#ifndef KISDABCACHEUTILS_H
8#define KISDABCACHEUTILS_H
20#include "kritapaintop_export.h"
59 const QPointF &_cursorPoint,
62 qreal _softnessFactor,
63 qreal _lightnessStrength = 1.0)
65 cursorPoint(_cursorPoint),
68 softnessFactor(_softnessFactor),
69 lightnessStrength(_lightnessStrength)
90 bool solidColorFill =
true;
93 qreal softnessFactor = 1.0;
94 qreal lightnessStrength = 1.0;
96 bool needsPostprocessing =
false;
100 const QSize &realDabSize);
105 bool forceImageStamp =
false);
108 const QPoint &dabTopLeft,
QSharedPointer< KisBrush > KisBrushSP
QSharedPointer< KisDabRenderingJob > KisDabRenderingJobSP
void postProcessDab(KisFixedPaintDeviceSP dab, const QPoint &dabTopLeft, const KisPaintInformation &info, DabRenderingResources *resources)
void generateDab(const DabGenerationInfo &di, DabRenderingResources *resources, KisFixedPaintDeviceSP *dab, bool forceNormalizedRGBAImageStamp)
QRect correctDabRectWhenFetchedFromCache(const QRect &dabRect, const QSize &realDabSize)
std::function< DabRenderingResources *()> ResourcesFactory
MirrorProperties mirrorProperties
KisPaintDeviceSP colorSourceDevice
std::unique_ptr< KisTextureOption > textureOption
std::unique_ptr< KisSharpnessOption > sharpnessOption
DabRenderingResources(const DabRenderingResources &rhs)=delete
std::unique_ptr< KisColorSource > colorSource
DabRequestInfo(const DabRequestInfo &rhs)
const QPointF & cursorPoint
const qreal softnessFactor
DabRequestInfo(const KoColor &_color, const QPointF &_cursorPoint, const KisDabShape &_shape, const KisPaintInformation &_info, qreal _softnessFactor, qreal _lightnessStrength=1.0)
const qreal lightnessStrength
const KisPaintInformation & info
const KisDabShape & shape