예제 #1
0
 public WaveformRenderingProgress(WaveformDimensions waveformDimensions,
                                  WaveformSection waveformSection,
                                  Canvas mainCanvas,
                                  PolyLineSegment leftWaveformPolyLine, PolyLineSegment rightWaveformPolyLine)
 {
     this._waveformDimensions    = waveformDimensions;
     this._mainCanvas            = mainCanvas;
     this._leftWaveformPolyLine  = leftWaveformPolyLine;
     this._rightWaveformPolyLine = rightWaveformPolyLine;
     this._pointThickness        = this._waveformDimensions.Width() / (int)((waveformSection.End - waveformSection.Start) / 2.0d);
     this._centerHeight          = this._mainCanvas.RenderSize.Height / 2.0d;
 }
예제 #2
0
 public RenderedToDimensions(ITune tune, WaveformDimensions dimensions)
 {
     this.Tune       = tune;
     this.Dimensions = dimensions;
 }
예제 #3
0
 public TimelineTickLocation(TuneDuration tuneDuration, WaveformDimensions waveformDimensions)
 {
     this._tuneDuration       = tuneDuration;
     this._waveformDimensions = waveformDimensions;
 }