13#include <klocalizedstring.h>
17 , m_pathShape(pathShape)
18 , m_subpathIndex(subpathIndex)
41 matrix.translate(-offset.x(), -offset.y());
void setText(const KUndo2MagicString &text)
A KoPathPoint represents a point in a path.
void map(const QTransform &matrix)
apply matrix on the point
The position of a path point within a path shape.
KoSubpath * removeSubpath(int subpathIndex)
Removes subpath from the path.
virtual QPointF normalize()
Normalizes the path data.
bool addSubpath(KoSubpath *subpath, int subpathIndex)
Adds a subpath at the given index to the path.
void update() const override
reimplemented
void undo() override
revert the actions done in redo
KoSubpathRemoveCommand(KoPathShape *pathShape, int subpathIndex, KUndo2Command *parent=0)
void redo() override
redo the command
~KoSubpathRemoveCommand() override
KoPathShape * m_pathShape
KUndo2MagicString kundo2_i18n(const char *text)