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; }
public RenderedToDimensions(ITune tune, WaveformDimensions dimensions) { this.Tune = tune; this.Dimensions = dimensions; }
public TimelineTickLocation(TuneDuration tuneDuration, WaveformDimensions waveformDimensions) { this._tuneDuration = tuneDuration; this._waveformDimensions = waveformDimensions; }