10 if (!interactiveCurveViewRange->
yAuto()) {
13 Range yRange = computeYRange(interactiveCurveViewRange);
14 float max = yRange.
max;
15 float min = yRange.
min;
16 float range = max - min;
20 if (interactiveCurveViewRange->
yMin() == addMargin(min, range,
true) && interactiveCurveViewRange->
yMax() == addMargin(max, range,
false)) {
40 interactiveCurveViewRange->
setYMin(addMargin(min, range,
true));
41 interactiveCurveViewRange->
setYMax(addMargin(max, range,
false));
void setYMax(float f) override
virtual float interestingXRange()
void setYMin(float f) override
float computeGridUnit(Axis axis, float min, float max)
bool didChangeRange(InteractiveCurveViewRange *interactiveCurveViewRange)