8#ifndef KOPATHPOINTTYPECOMMAND_H
9#define KOPATHPOINTTYPECOMMAND_H
16#include "kritaflake_export.h"
44 static void makeCubicPointSmooth(
KoPathPoint *point);
50 : m_pointData(pointData) {}
56 bool m_hadControlPoint1 {
false};
57 bool m_hadControlPoint2 {
false};
the base command for commands altering a path shape
Describe a KoPathPoint by a KoPathShape and its indices.
The undo / redo command for changing the path point type.
QList< PointData > m_additionalPointData
PointType
The type of the point.
QList< PointData > m_oldPointData
A KoPathPoint represents a point in a path.
KoPathPoint::PointProperties m_oldProperties
PointData(const KoPathPointData pointData)
KoPathPointData m_pointData
QPointF m_oldControlPoint2
QPointF m_oldControlPoint1