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); }
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); }
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>(); }