Beispiel #1
0
 private int CalculateYOffset(double intervalPos)
 {
     return((int)ScaleCurveToValue(YOffsetCurve.GetValue(intervalPos), 100, -100));
 }
Beispiel #2
0
 private int CalculateYOffset(double intervalPos, int maxht)
 {
     return((int)ScaleCurveToValue(YOffsetCurve.GetValue(intervalPos), BufferHt + maxht / 2, -BufferHt - maxht / 2));
 }
Beispiel #3
0
 private int CalculateYOffset(double intervalPos)
 {
     return((int)ScaleCurveToValue(YOffsetCurve.GetValue(intervalPos), -_maxBuffer * 1.1, _maxBuffer * 1.1));
 }
Beispiel #4
0
 private int CalculateYOffset(double intervalPos)
 {
     return(OffsetPercentage
                         ? (int)Math.Round(ScaleCurveToValue(YOffsetCurve.GetValue(intervalPos), -BufferHt, BufferHt))
                         : (int)Math.Round(ScaleCurveToValue(YOffsetCurve.GetValue(intervalPos), 100, -100)));
 }
Beispiel #5
0
 private int CalculateYOffset(double intervalPos)
 {
     return((int)ScaleCurveToValue(YOffsetCurve.GetValue(intervalPos), (int)(BufferHt / 2 + _fp.Height / 2), -(int)(BufferHt / 2 + _fp.Height / 2)));
 }