Changeset 10730 for branches/HeuristicLab.EvolutionTracking/HeuristicLab.EvolutionTracking.Views/3.4/VisualGenealogyGraphNode.cs
- Timestamp:
- 04/08/14 17:23:51 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.EvolutionTracking/HeuristicLab.EvolutionTracking.Views/3.4/VisualGenealogyGraphNode.cs
r10271 r10730 70 70 } 71 71 72 public override void SetPosition(PointD low Left, PointD upRight) {73 base.SetPosition(low Left, upRight);72 public override void SetPosition(PointD lowerLeft, PointD upperRight) { 73 base.SetPosition(lowerLeft, upperRight); 74 74 foreach (var a in IncomingArcs) a.UpdatePosition(); 75 75 foreach (var a in OutgoingArcs) a.UpdatePosition(); … … 83 83 Point p = Chart.TransformWorldToPixel(new PointD(LowerLeft.X, LowerLeft.Y + Size.Height)); 84 84 Size s = Chart.TransformWorldToPixel(Size); 85 if (Brush != null) 85 if (Brush != null) { 86 86 graphics.FillEllipse(Brush, p.X, p.Y, s.Width, s.Height); 87 graphics.DrawEllipse(Pen, p.X, p.Y, s.Width, s.Height); 88 if (Data.IsElite) { 89 graphics.DrawEllipse(Pen, p.X + 2, p.Y + 2, s.Width - 4, s.Height - 4); 87 graphics.DrawEllipse(Pen, p.X, p.Y, s.Width, s.Height); 88 if (Data.IsElite) { 89 graphics.DrawEllipse(Pen, p.X + 2, p.Y + 2, s.Width - 4, s.Height - 4); 90 } 90 91 } 91 92 }
Note: See TracChangeset
for help on using the changeset viewer.