private int CalculateXOffset(double intervalPos) { return((int)ScaleCurveToValue(XOffsetCurve.GetValue(intervalPos), 100, -100)); }
private int CalculateXOffset(double intervalPos) { return((int)ScaleCurveToValue(XOffsetCurve.GetValue(intervalPos), BufferWi, -BufferWi)); }
private int CalculateXOffset(double intervalPos) { return((int)ScaleCurveToValue(XOffsetCurve.GetValue(intervalPos), -_maxBuffer * 1.1, _maxBuffer * 1.1)); }
private int CalculateXOffset(double intervalPos) { return(OffsetPercentage ? (int)Math.Round(ScaleCurveToValue(XOffsetCurve.GetValue(intervalPos), BufferWi, -BufferWi)) : (int)Math.Round(ScaleCurveToValue(XOffsetCurve.GetValue(intervalPos), 100, -100))); }
private int CalculateXOffset(double intervalPos) { return((int)ScaleCurveToValue(XOffsetCurve.GetValue(intervalPos), (int)(BufferWi / 2 + _fp.Width / 2), -(int)(BufferWi / 2 + _fp.Width / 2))); }