2 #include <Process/TimeValue.hpp>
4 #include <score/tools/Debug.hpp>
19 ConvertToScenarioPoint(
const QPointF& point, ZoomRatio zoom,
double height) noexcept
21 return {TimeVal::fromPixels(point.x(), zoom), point.y() / height};
25 ConvertFromScenarioPoint(
const Point& point, ZoomRatio zoom,
double height) noexcept
27 return {point.date.toPixels(zoom), point.y * height};
31 inline QDataStream& operator<<(QDataStream& i,
const Scenario::Point& sel)
Main plug-in of score.
Definition: score-plugin-dataflow/Dataflow/PortItem.hpp:14
Definition: ScenarioPoint.hpp:13
Definition: TimeValue.hpp:21