18 setObjectName(
"enclosing_tool_rectangle");
35 KisDynamicDelegateTool::resetCursorStyle();
43 QRect rc(
rect.normalized().toRect());
51 if (roundCornersX > 0 || roundCornersY > 0) {
52 path.addRoundedRect(rc, roundCornersX, roundCornersY);
connect(this, SIGNAL(optionsChanged()), this, SLOT(saveOptions()))
KisViewManager * viewManager() const
static QCursor load(const QString &cursorName, int hotspotX=-1, int hotspotY=-1)
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.
void enclosingMaskProduced(KisPixelSelectionSP enclosingMask)
void resetCursorStyle() override
void beginShape() override
bool m_hasUserInteractionRunning
KisRectangleEnclosingProducer(KoCanvasBase *canvas)
bool hasUserInteractionRunning() const
~KisRectangleEnclosingProducer() override
void finishRect(const QRectF &rect, qreal roundCornersX, qreal roundCornersY) override
KisCanvasResourceProvider * canvasResourceProvider()
KisSharedPtr< KisPixelSelection > KisPixelSelectionSP