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");
            }
예제 #2
0
파일: Output.cs 프로젝트: rgatkinson/nadir
 void OutputGraph(SequenceDesignContext context, object result)
     {
     // Render the result
     //
     RenderingContext ctx = new RenderingContext(result);
     ctx.Compose();
     ctx.EmitSchematic();
     }