30 KisCursor::load(
"tool_elliptical_selection_cursor.png", 6, 6))
32 setObjectName(
"tool_select_elliptical");
42 Q_UNUSED(roundCornersX);
43 Q_UNUSED(roundCornersY);
78 path.addEllipse(
rect);
82 [tmpSel, antiAlias, grow, feather, path]()
mutable
101 }
else if (grow < 0) {
114 if (grow == 0 && feather == 0) {
QVector< KisImageSignalType > KisImageSignalVector
KisViewManager * viewManager() const
static QCursor load(const QString &cursorName, int hotspotX=-1, int hotspotY=-1)
void process(KisPixelSelectionSP pixelSelection, const QRect &rect) override
void process(KisPixelSelectionSP pixelSelection, const QRect &rect) 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.
void applyCommand(KUndo2Command *command, KisStrokeJobData::Sequentiality sequentiality=KisStrokeJobData::SEQUENTIAL, KisStrokeJobData::Exclusivity exclusivity=KisStrokeJobData::NORMAL)
void process(KisPixelSelectionSP pixelSelection, const QRect &rect) override
KisSelectionSP selection()
void rotate(qreal angle)
Rotate the shape (relative)
KUndo2MagicString kundo2_i18n(const char *text)
The LambdaCommand struct is a shorthand for creation of AggregateCommand commands using C++ lambda fe...
void invalidateOutlineCache()
void setOutlineCache(const QPainterPath &cache)
QRect selectedRect() const