Esempio n. 1
0
 public Diagram()
 {
     _scale                   = 1.0f;
     _size                    = new Size(100, 100);
     _padding                 = new Size(10, 10);
     _boundingBox             = Rectangle.Empty;
     _alignement              = DiagramAlignement.Center;
     _rootElements            = new List<DiagramItem>();
     _elementsByName = new Dictionary<string, XSDObject>(StringComparer.OrdinalIgnoreCase);
 }
Esempio n. 2
0
 public Diagram()
 {
     _scale          = 1.0f;
     _size           = new Size(100, 100);
     _padding        = new Size(10, 10);
     _boundingBox    = Rectangle.Empty;
     _alignement     = DiagramAlignement.Center;
     _rootElements   = new List <DiagramItem>();
     _elementsByName = new Dictionary <string, XSDObject>(StringComparer.OrdinalIgnoreCase);
 }
Esempio n. 3
0
 public Diagram()
 {
     _scale                     = 1.0f;
     _lastScale                 = 1.0f;
     _size                      = new Size(100, 100);
     _padding                   = new Size(10, 10);
     _boundingBox               = Rectangle.Empty;
     _alignement                = DiagramAlignement.Center;
     _rootElements              = new List <DiagramItem>();
     _selectedElement           = null;
     _elementsByName            = new Dictionary <string, XSDObject>(); // StringComparer.OrdinalIgnoreCase);
     _lastSearchText            = String.Empty;
     _lastSearchHitElementIndex = 0;
     _lastSearchHitElements     = new List <DiagramItem>();
 }