Exemple #1
0
 private int CalculateXOffset(double intervalPos)
 {
     return((int)ScaleCurveToValue(XOffsetCurve.GetValue(intervalPos), 100, -100));
 }
Exemple #2
0
 private int CalculateXOffset(double intervalPos)
 {
     return((int)ScaleCurveToValue(XOffsetCurve.GetValue(intervalPos), BufferWi, -BufferWi));
 }
Exemple #3
0
 private int CalculateXOffset(double intervalPos)
 {
     return((int)ScaleCurveToValue(XOffsetCurve.GetValue(intervalPos), -_maxBuffer * 1.1, _maxBuffer * 1.1));
 }
Exemple #4
0
 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)));
 }
Exemple #5
0
 private int CalculateXOffset(double intervalPos)
 {
     return((int)ScaleCurveToValue(XOffsetCurve.GetValue(intervalPos), (int)(BufferWi / 2 + _fp.Width / 2), -(int)(BufferWi / 2 + _fp.Width / 2)));
 }