2 #include <Curve/Commands/CurveCommandFactory.hpp>
3 #include <Curve/Segment/CurveSegmentData.hpp>
5 #include <score/command/Command.hpp>
6 #include <score/model/path/Path.hpp>
7 #include <score/tools/Unused.hpp>
17 SCORE_COMMAND_DECL(CommandFactoryName(),
UpdateCurve,
"Update Curve")
24 void update(
unused_t, std::vector<SegmentData>&& segments)
26 m_newCurveData = std::move(segments);
35 std::vector<SegmentData> m_oldCurveData;
36 std::vector<SegmentData> m_newCurveData;
Definition: CurveModel.hpp:25
Definition: UpdateCurve.hpp:16
The Command class.
Definition: Command.hpp:34
Utilities and base classes for 1D curves.
Definition: FocusDispatcher.hpp:12
Definition: DataStreamHelpers.hpp:103
Definition: DocumentContext.hpp:18