97 presetOverride->cloneWithResourcesSnapshot(
107 cacheInterface.clear();
117#ifdef HAVE_THREADED_TEXT_RENDERING_WORKAROUND
129 QPointF relativeAxesCenter(0.5, 0.5);
171#ifdef HAVE_THREADED_TEXT_RENDERING_WORKAROUND
175 QPointF relativeAxesCenter(0.5, 0.5);
209 if (lockflags.size() > 0) {
431 QBitArray channelFlags;
437 if (channelFlags.isEmpty()) {
481 brush->cloneWithResourcesSnapshot(
486#ifdef HAVE_THREADED_TEXT_RENDERING_WORKAROUND
const qreal OPACITY_OPAQUE_F
const QString COMPOSITE_OVER
const QString COMPOSITE_ALPHA_DARKEN
virtual QRect imageBorderRect() const
static KisResourcesInterfaceSP instance()
QPointF mirrorAxesCenter() const
KisPostExecutionUndoAdapter * postExecutionUndoAdapter() const override
KisSelectionSP globalSelection() const
const KoColorSpace * colorSpace() const
static KisPaintOpRegistry * instance()
void setPaintOpPreset(KisPaintOpPresetSP preset, KisNodeSP node, KisImageSP image)
FillStyle
This enum contains the styles with which we can fill things like polygons and ellipses.
@ FillStyleForegroundColor
void setPatternTransform(QTransform transform)
Set the transform on the pattern.
void setStrokeStyle(StrokeStyle strokeStyle)
Set the current brush stroke style.
void setMirrorInformation(const QPointF &axesCenter, bool mirrorHorizontally, bool mirrorVertically)
StrokeStyle
The style of the brush stroke around polygons and so.
void setBackgroundColor(const KoColor &color)
void setOpacityF(qreal opacity)
void setGenerator(KisFilterConfigurationSP generator)
Set the current generator (a generator can be used to fill an area.
void setGradient(const KoAbstractGradientSP gradient)
void setFillStyle(FillStyle fillStyle)
Set the current style with which to fill.
void setPattern(const KoPatternSP pattern)
Set the current pattern.
void setPaintColor(const KoColor &color)
void setChannelFlags(QBitArray channelFlags)
void setCompositeOpId(const KoCompositeOp *op)
bool presetAllowsLod() const
void setupPainter(KisPainter *painter)
void setFGColorOverride(const KoColor &color)
void setFillStyle(KisPainter::FillStyle fillStyle)
void setCurrentNode(KisNodeSP node)
KisPaintOpPresetSP currentPaintOpPreset() const
void setBGColorOverride(const KoColor &color)
qreal effectiveZoom() const
QString compositeOpId() const
void setupMaskingBrushPainter(KisPainter *painter)
KisNodeList selectedNodes() const
KoPatternSP currentPattern() const
bool needsIndirectPainting() const
KoAbstractGradientSP currentGradient() const
KoColor currentBgColor() const
qreal airbrushingInterval() const
void setBrush(const KisPaintOpPresetSP &brush)
bool isUsingOtherColor() const
QString indirectPaintingCompositeOp() const
KisNodeSP currentNode() const
KisFilterConfigurationSP currentGenerator() const
QTransform fillTransform() const
QBitArray channelLockFlags() const
void setMirroring(bool horizontal, bool vertical)
void setSelectionOverride(KisSelectionSP selection)
bool needsAirbrushing() const
void setOpacity(qreal opacity)
void setStrokeStyle(KisPainter::StrokeStyle strokeStyle)
KoColor currentFgColor() const
KisPostExecutionUndoAdapter * postExecutionUndoAdapter() const
bool presetNeedsAsynchronousUpdates() const
bool needsSpacingUpdates() const
KisResourcesSnapshot(KisImageSP image, KisNodeSP currentNode, KoCanvasResourceProvider *resourceManager, KisDefaultBoundsBaseSP bounds=0, KisNodeList selectedNodes=KisNodeList(), KisPaintOpPresetSP presetOverride=0)
bool needsMaskingBrushRendering() const
KisSelectionSP activeSelection() const
void setFillTransform(QTransform transform)
QVariant resource(int key) const
KoCanvasResourcesInterfaceSP canvasResourcesInterface() const
bool boolResource(int key) const
QBitArray channelFlags(bool color=true, bool alpha=false) const
#define KIS_SAFE_ASSERT_RECOVER(cond)
#define KIS_SAFE_ASSERT_RECOVER_RETURN(cond)
QPointF relativeToAbsolute(const QPointF &pt, const QRectF &rc)
@ CurrentPaintOpPresetCache
the cache associated with the currently active preset (this cache may be different per canvas if the ...
@ EffectiveZoom
-Used only by painting tools for non-displaying purposes
@ CurrentEffectiveCompositeOp
@ EffectiveLodAvailability
@ CurrentGeneratorConfiguration
@ BackgroundColor
The active background color selected for this canvas.
@ ForegroundColor
The active foreground color selected for this canvas.
const KoColorSpace * colorSpace() const override
returns the image's colorSpace or null, if there is no image
virtual KisSelectionSP selection() const
const QBitArray & channelLockFlags() const
KoAbstractGradientSP currentGradient
bool mirrorMaskHorizontal
const KoCompositeOp * compositeOp
KisPaintOpPresetSP currentPaintOpPreset
KoPatternSP currentPattern
KoCanvasResourcesInterfaceSP globalCanvasResourcesInterface
KisPainter::StrokeStyle strokeStyle
KisNodeList selectedNodes
KisFilterConfigurationSP currentGenerator
KisPainter::FillStyle fillStyle
KisDefaultBoundsBaseSP bounds
bool hasOverrideSelection
KisSelectionSP selectionOverride