Beispiel #1
0
 protected override void CreateViewBox()
 {
     this.RendererData = Create(
         this,
         this.Bitmap.PixelWidth,
         this.Bitmap.PixelHeight,
         OscilloscopeBehaviourConfiguration.GetDuration(this.Duration.Value),
         OscilloscopeBehaviourConfiguration.GetMode(this.Mode.Value)
         );
     this.Viewbox = new Rect(0, 0, this.Bitmap.PixelWidth, this.Bitmap.PixelHeight);
 }
Beispiel #2
0
 protected virtual Task RefreshBitmap()
 {
     return(Windows.Invoke(() =>
     {
         this.RendererData = Create(
             this,
             this.Bitmap.PixelWidth,
             this.Bitmap.PixelHeight,
             OscilloscopeBehaviourConfiguration.GetDuration(this.Duration.Value),
             OscilloscopeBehaviourConfiguration.GetMode(this.Mode.Value)
             );
     }));
 }