public void LoadDrawing(SpiroDrawing drawing) { Deselect(); Drawing = drawing; Data = new Dictionary <SpiroShape, string>(); Knots = new Dictionary <SpiroShape, IList <SpiroKnot> >(); foreach (var shape in _drawing.Shapes) { RunSpiro(shape); } _invalidate(); }
public void LoadDrawing(SpiroDrawing drawing) { Deselect(); Drawing = drawing; Data = new Dictionary<SpiroShape, string>(); Knots = new Dictionary<SpiroShape, IList<SpiroKnot>>(); foreach (var shape in _drawing.Shapes) { RunSpiro(shape); } _invalidate(); }