7#ifndef KOPATHSEGMENTCHANGESTRATEGY_H
8#define KOPATHSEGMENTCHANGESTRATEGY_H
26 void handleMouseMove(
const QPointF &mouseLocation, Qt::KeyboardModifiers modifiers)
override;
KoToolBase * tool() const
Describe a KoPathPoint by a KoPathShape and its indices.
Strategy for deforming a segment of a path shape.
KUndo2Command * createCommand() override
KoPathSegmentChangeStrategy(KoPathTool *tool, const QPointF &pos, const KoPathPointData &segment, qreal segmentParam)
~KoPathSegmentChangeStrategy() override
KoPathTool * m_tool
pointer to the path tool
QPointF m_move
the accumulated point move amount
KoPathPointData m_pointData2
void handleMouseMove(const QPointF &mouseLocation, Qt::KeyboardModifiers modifiers) override
KoPathPointData m_pointData1
int m_originalSegmentDegree
void finishInteraction(Qt::KeyboardModifiers modifiers) override
QPointF m_originalPosition
A KoPathSegment consist of two neighboring KoPathPoints.
The position of a path point within a path shape.