Changeset 10456 for branches/HeuristicLab.EvolutionTracking/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Views/3.4
- Timestamp:
- 02/15/14 13:50:37 (11 years ago)
- Location:
- branches/HeuristicLab.EvolutionTracking/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Views
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.EvolutionTracking/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Views
- Property svn:mergeinfo changed (with no actual effect on merging)
-
branches/HeuristicLab.EvolutionTracking/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Views/3.4/SymbolicExpressionTreeChart.cs
r10347 r10456 51 51 this.lineColor = Color.Black; 52 52 this.backgroundColor = Color.White; 53 this.textFont = new Font( "Times New Roman", 14);53 this.textFont = new Font(FontFamily.GenericSerif, 14, GraphicsUnit.Pixel); 54 54 layoutEngine = new ReingoldTilfordLayoutEngine<ISymbolicExpressionTreeNode>(); 55 55 layoutAdapter = new SymbolicExpressionTreeLayoutAdapter(); … … 278 278 279 279 #region methods for painting the symbolic expression tree 280 281 280 private void DrawFunctionTree(ISymbolicExpressionTree symbolicExpressionTree, Graphics graphics, int preferredWidth, int preferredHeight, int minHDistance, int minVDistance) { 282 281 var layoutNodes = layoutAdapter.Convert(symbolicExpressionTree).ToList();
Note: See TracChangeset
for help on using the changeset viewer.