Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/30/09 10:11:25 (15 years ago)
Author:
mstoeger
Message:

moved the canvas and the basic types of shapes to their own namespace. #498

Location:
trunk/sources/HeuristicLab.Visualization/3.2/Drawing
Files:
1 added
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Visualization/3.2/Drawing/CompositeShape.cs

    r1884 r1964  
    33using System.Drawing;
    44
    5 namespace HeuristicLab.Visualization {
     5namespace HeuristicLab.Visualization.Drawing {
    66  public class CompositeShape : IShape {
    77    private IShape parent;
     
    8585      foreach (var shape in shapes) {
    8686        boundingBox = new RectangleD(Math.Min(boundingBox.X1, shape.BoundingBox.X1),
    87                                     Math.Min(boundingBox.Y1, shape.BoundingBox.Y1),
    88                                     Math.Max(boundingBox.X2, shape.BoundingBox.X2),
    89                                     Math.Max(boundingBox.Y2, shape.BoundingBox.Y2));
     87                                     Math.Min(boundingBox.Y1, shape.BoundingBox.Y1),
     88                                     Math.Max(boundingBox.X2, shape.BoundingBox.X2),
     89                                     Math.Max(boundingBox.Y2, shape.BoundingBox.Y2));
    9090      }
    9191    }
Note: See TracChangeset for help on using the changeset viewer.