Krita Source Code Documentation
Loading...
Searching...
No Matches
SvgChangeTextPathInfoStrategy.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2025 Wolthera van Hövell tot Westerflier <griffinvalley@gmail.com>
3 *
4 * SPDX-License-Identifier: GPL-3.0-or-later
5 */
6#ifndef SVGCHANGETEXTPATHINFOSTRATEGY_H
7#define SVGCHANGETEXTPATHINFOSTRATEGY_H
8
10
11#include <KoSvgTextShape.h>
12#include <KoSvgText.h>
13
14
15class SvgTextTool;
16
18{
19public:
20 SvgChangeTextPathInfoStrategy(SvgTextTool *tool, KoSvgTextShape *shape, const QPointF &clicked, int textCursorPos);
21 ~SvgChangeTextPathInfoStrategy() override = default;
22
23 void handleMouseMove(const QPointF &mouseLocation, Qt::KeyboardModifiers modifiers) override;
24 KUndo2Command *createCommand() override;
25 void cancelInteraction() override;
26 void finishInteraction(Qt::KeyboardModifiers modifiers) override;
27private:
32};
33
34#endif // SVGCHANGETEXTPATHINFOSTRATEGY_H
SvgChangeTextPathInfoStrategy(SvgTextTool *tool, KoSvgTextShape *shape, const QPointF &clicked, int textCursorPos)
~SvgChangeTextPathInfoStrategy() override=default
void handleMouseMove(const QPointF &mouseLocation, Qt::KeyboardModifiers modifiers) override
void finishInteraction(Qt::KeyboardModifiers modifiers) override