Ejemplo n.º 1
0
        public DrawingEngine(Settings settings, IMouseHandler mouseHandler, PenPreview penPreview, IStorage storage)
        {
            _settings     = settings;
            _mouseHandler = mouseHandler;
            _penPreview   = penPreview;
            _storage      = storage;

            NewBitmaps();
            MainGraphics.Clear(Color.White);
            Canvas = (Bitmap)MainImage.Clone();

            _selectedFigureIndex = -1;
        }