Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/24/14 16:59:22 (10 years ago)
Author:
bburlacu
Message:

#1772: Added new SymbolicDataAnalysisGenealogyView and added support for the tracing of building blocks (finding the constituent ancestral elements of a selected subtree).

File:
1 edited

Legend:

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

    r10271 r10650  
    55namespace HeuristicLab.EvolutionTracking.Views {
    66  public class VisualGenealogyGraphTextLabel : Rectangle {
    7     private string text;
    8     public string Text { get { return text; } set { text = value; } }
    9 
    10     private Font font;
    11     public Font Font { get { return font; } set { font = value; } }
     7    //    private string text;
     8    //    public string Text { get { return text; } set { text = value; } }
     9    //
     10    //    private Font font;
     11    //    public Font Font { get { return font; } set { font = value; } }
    1212
    1313    private Brush fontBrush;
     
    3232
    3333      float fontSize = s.Height;
    34       font = new Font(font.Name, fontSize, Font.Style, GraphicsUnit.Pixel);
    35       graphics.DrawString(text, font, fontBrush, p.X, p.Y);
     34      var font = new Font(Font.Name, fontSize, Font.Style, GraphicsUnit.Pixel);
     35      graphics.DrawString(Text, font, fontBrush, p.X, p.Y);
    3636    }
    3737
Note: See TracChangeset for help on using the changeset viewer.