Krita Source Code Documentation
Loading...
Searching...
No Matches
SvgTextRemoveTransformsFromRange.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 SVGTEXTREMOVETRANSFORMSFROMRANGE_H
7#define SVGTEXTREMOVETRANSFORMSFROMRANGE_H
8
9#include <kundo2command.h>
10#include <KoSvgTextShape.h>
11
18{
19public:
20 SvgTextRemoveTransformsFromRange(KoSvgTextShape *shape, int pos, int anchor, KUndo2Command *parent = nullptr);
21
22 void undo() override;
23 void redo() override;
24private:
25
27 int m_pos;
30};
31
32#endif // SVGTEXTREMOVETRANSFORMSFROMRANGE_H
The SvgTextRemoveTransformsFromRange class Removes the SVG 1.1 character transforms from the range.
SvgTextRemoveTransformsFromRange(KoSvgTextShape *shape, int pos, int anchor, KUndo2Command *parent=nullptr)