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); }
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) ); })); }