예제 #1
0
        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();
        }
예제 #2
0
        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();
        }