[interactive_curve_view_range] Normal ratio

The method NormaRatio returns the screen ratio for an orthonormal
range.

Change-Id: Ib834f9934232866646da16c78447782cdbdc0af2
This commit is contained in:
Gabriel Ozouf
2020-10-08 17:09:27 +02:00
committed by Émilie Feral
parent 403315f6ac
commit d642339963

View File

@@ -18,6 +18,8 @@ public:
m_zoomNormalize(false)
{}
static constexpr float NormalYXRatio() { return NormalizedYHalfRange(1.f) / NormalizedXHalfRange(1.f); }
void setDelegate(InteractiveCurveViewRangeDelegate * delegate) { m_delegate = delegate; }
uint32_t rangeChecksum() override;