2 #include <Curve/Commands/UpdateCurve.hpp>
3 #include <Curve/Palette/CommandObjects/CurveCommandObjectBase.hpp>
4 #include <Curve/Segment/PointArray/PointArraySegment.hpp>
6 #include <score/command/Dispatchers/SingleOngoingCommandDispatcher.hpp>
7 #include <score/tools/std/Optional.hpp>
23 void on_press()
override;
32 using seg_tuple = std::tuple<
33 std::optional<SegmentData>, std::optional<SegmentData>, std::vector<SegmentData>>;
34 void release_n(seg_tuple&&);
35 seg_tuple filterSegments();
36 PointArraySegment m_segment;
39 QPointF m_originalPress;
40 QPointF m_minPress{}, m_maxPress{};
Definition: CurveCommandObjectBase.hpp:49
Definition: PenCommandObject.hpp:17
Definition: CurvePresenter.hpp:32
Definition: CurvePaletteBaseStates.hpp:20
A small abstraction layer over the score::CommandStack.
Definition: CommandStackFacade.hpp:20
Utilities and base classes for 1D curves.
Definition: FocusDispatcher.hpp:12