private void buttonRelayout_Click(object sender, RoutedEventArgs e) { this.DeselectAll(); // this.time = 0; RenderingContext newContext = new RenderingContext(this.renderingContext.RenderedResult); newContext.Window = this; newContext.Compose(this.renderingContext); this.renderingContext = newContext; this.CreateCanvases(); this.Zoom = Constants.DefaultZoom; this.LineWidth = this.LineWidth; this.Dirty("relayout"); }
void OutputGraph(SequenceDesignContext context, object result) { // Render the result // RenderingContext ctx = new RenderingContext(result); ctx.Compose(); ctx.EmitSchematic(); }