18 setObjectName(
"enclosing_tool_rectangle");
35 KisDynamicDelegateTool::resetCursorStyle();
43 Q_UNUSED(roundCornersX);
44 Q_UNUSED(roundCornersY);
46 QRect rc(
rect.normalized().toRect());
connect(this, SIGNAL(optionsChanged()), this, SLOT(saveOptions()))
KisViewManager * viewManager() const
static QCursor load(const QString &cursorName, int hotspotX=-1, int hotspotY=-1)
void resetCursorStyle() override
void beginShape() override
KisEllipseEnclosingProducer(KoCanvasBase *canvas)
~KisEllipseEnclosingProducer() override
bool m_hasUserInteractionRunning
void enclosingMaskProduced(KisPixelSelectionSP enclosingMask)
bool hasUserInteractionRunning() const
void finishRect(const QRectF &rect, qreal roundCornersX, qreal roundCornersY) override
const KoColorSpace * colorSpace() const
@ FillStyleForegroundColor
void paintPainterPath(const QPainterPath &path)
void setStrokeStyle(StrokeStyle strokeStyle)
Set the current brush stroke style.
void setFillStyle(FillStyle fillStyle)
Set the current style with which to fill.
void setPaintColor(const KoColor &color)
void setAntiAliasPolygonFill(bool antiAliasPolygonFill)
Set whether a polygon's filled area should be anti-aliased or not. The default is true.
KisCanvasResourceProvider * canvasResourceProvider()
KisSharedPtr< KisPixelSelection > KisPixelSelectionSP