7#ifndef KISDABCACHEUTILS_H
8#define KISDABCACHEUTILS_H
20#include "kritapaintop_export.h"
58 const QPointF &_cursorPoint,
61 qreal _softnessFactor,
62 qreal _lightnessStrength = 1.0)
64 cursorPoint(_cursorPoint),
67 softnessFactor(_softnessFactor),
68 lightnessStrength(_lightnessStrength)
89 bool solidColorFill =
true;
92 qreal softnessFactor = 1.0;
93 qreal lightnessStrength = 1.0;
95 bool needsPostprocessing =
false;
99 const QSize &realDabSize);
104 bool forceImageStamp =
false);
107 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
QScopedPointer< KisColorSource > colorSource
DabRenderingResources(const DabRenderingResources &rhs)=delete
QScopedPointer< KisSharpnessOption > sharpnessOption
QScopedPointer< KisTextureOption > textureOption
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