18 setObjectName(
"enclosing_tool_lasso");
35 KisDynamicDelegateTool::resetCursorStyle();
43 if (points.size() < 3) {
connect(this, SIGNAL(optionsChanged()), this, SLOT(saveOptions()))
KisViewManager * viewManager() const
static QCursor load(const QString &cursorName, int hotspotX=-1, int hotspotY=-1)
KisLassoEnclosingProducer(KoCanvasBase *canvas)
void beginShape() override
void resetCursorStyle() override
bool m_hasUserInteractionRunning
void finishOutline(const QVector< QPointF > &points) override
~KisLassoEnclosingProducer() override
bool hasUserInteractionRunning() const
void enclosingMaskProduced(KisPixelSelectionSP enclosingMask)
const KoColorSpace * colorSpace() const
@ FillStyleForegroundColor
void setStrokeStyle(StrokeStyle strokeStyle)
Set the current brush stroke style.
void paintPolygon(const vQPointF &points)
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()