- Timestamp:
- 05/30/09 10:11:25 (15 years ago)
- 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 3 3 using System.Drawing; 4 4 5 namespace HeuristicLab.Visualization {5 namespace HeuristicLab.Visualization.Drawing { 6 6 public class CompositeShape : IShape { 7 7 private IShape parent; … … 85 85 foreach (var shape in shapes) { 86 86 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)); 90 90 } 91 91 }
Note: See TracChangeset
for help on using the changeset viewer.