8#ifndef KOSUBPATHJOINCOMMAND_H
9#define KOSUBPATHJOINCOMMAND_H
15#include <boost/optional.hpp>
QPair< int, int > KoPathPointIndex
Describe a KoPathPoint by a KoPathShape and its indices.
The undo / redo command for joining two subpath end points.
KoPathPoint::PointProperties m_oldProperties1
bool closeSubpathMode() const
KoSubpathJoinCommand(const KoPathPointData &pointData1, const KoPathPointData &pointData2, KUndo2Command *parent=0)
KoPathPointIndex m_splitIndex
boost::optional< QPointF > m_savedControlPoint1
~KoSubpathJoinCommand() override
boost::optional< QPointF > m_savedControlPoint2
KoPathPointData m_pointData1
void undo() override
revert the actions done in redo
void redo() override
redo the command
KoPathPointData m_pointData2
KoPathPoint::PointProperties m_oldProperties2