8#ifndef KOCREATEPATHTOOL_H
9#define KOCREATEPATHTOOL_H
11#include "kritabasicflakes_export.h"
23#define KoCreatePathTool_ID "CreatePathTool"
56 bool pathStarted()
const;
60 void setEnableClosePathShortcut(
bool value);
64 void activate(
const QSet<KoShape*> &shapes)
override;
94 void handleMouseMove(
const KoPointerEvent *event,
bool considerDrag);
96 void endPathWithoutLastPoint();
98 void removeLastPoint();
100 bool addPathShapeImpl(
KoPathShape* pathShape,
bool tryMergeOnly);
107 Q_PRIVATE_SLOT(d_func(),
void angleDeltaChanged(qreal))
108 Q_PRIVATE_SLOT(d_func(),
void angleSnapChanged(
int))
109 Q_PRIVATE_SLOT(d_func(),
void autoSmoothCurvesChanged(
bool))
float value(const T *src, size_t ch)
The position of a path point within a path shape.