예제 #1
0
 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);
 }
예제 #2
0
 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
             );
     }));
 }
예제 #3
0
 public IEnumerable <ConfigurationSection> GetConfigurationSections()
 {
     return(VisualizationBehaviourConfiguration.GetConfigurationSections());
 }