protected override void CreateViewBox() { this.RendererData = Create( this.Output, this.Bitmap.PixelWidth, this.Bitmap.PixelHeight, SpectrumBehaviourConfiguration.GetBars(this.Bars.Value), VisualizationBehaviourConfiguration.GetFFTSize(this.FFTSize.Value), this.ShowPeaks.Value, this.HighCut.Value ); this.Viewbox = new Rect(0, 0, this.GetPixelWidth(), this.Bitmap.PixelHeight); }
protected virtual Task RefreshBitmap() { return(Windows.Invoke(() => { this.RendererData = Create( this.Output, this.Bitmap.PixelWidth, this.Bitmap.PixelHeight, SpectrumBehaviourConfiguration.GetBars(this.Bars.Value), VisualizationBehaviourConfiguration.GetFFTSize(this.FFTSize.Value), this.ShowPeaks.Value, this.HighCut.Value ); })); }
public IEnumerable <ConfigurationSection> GetConfigurationSections() { return(VisualizationBehaviourConfiguration.GetConfigurationSections()); }