Exemplo n.º 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();
        }
Exemplo n.º 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();
        }