Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/08/14 17:23:51 (10 years ago)
Author:
bburlacu
Message:

#1772: Improved FragmentGraphView.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.EvolutionTracking/HeuristicLab.EvolutionTracking.Views/3.4/VisualGenealogyGraphNode.cs

    r10271 r10730  
    7070    }
    7171
    72     public override void SetPosition(PointD lowLeft, PointD upRight) {
    73       base.SetPosition(lowLeft, upRight);
     72    public override void SetPosition(PointD lowerLeft, PointD upperRight) {
     73      base.SetPosition(lowerLeft, upperRight);
    7474      foreach (var a in IncomingArcs) a.UpdatePosition();
    7575      foreach (var a in OutgoingArcs) a.UpdatePosition();
     
    8383      Point p = Chart.TransformWorldToPixel(new PointD(LowerLeft.X, LowerLeft.Y + Size.Height));
    8484      Size s = Chart.TransformWorldToPixel(Size);
    85       if (Brush != null)
     85      if (Brush != null) {
    8686        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        }
    9091      }
    9192    }
Note: See TracChangeset for help on using the changeset viewer.