Changeset 1964 for trunk/sources/HeuristicLab.Visualization/3.2/Drawing
- Timestamp:
- 05/30/09 10:11:25 (16 years ago)
- Location:
- trunk/sources/HeuristicLab.Visualization/3.2/Drawing
- Files:
-
- 1 added
- 7 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Visualization/3.2/Drawing/Canvas.cs
r1884 r1964 4 4 using System.Drawing.Drawing2D; 5 5 6 namespace HeuristicLab.Visualization {6 namespace HeuristicLab.Visualization.Drawing { 7 7 public class Canvas : IShape { 8 8 private readonly WorldShape worldShape; -
trunk/sources/HeuristicLab.Visualization/3.2/Drawing/CanvasUI.Designer.cs
r1884 r1964 1 namespace HeuristicLab.Visualization 2 { 3 partial class CanvasUI 1 namespace HeuristicLab.Visualization.Drawing { 2 partial class CanvasUI 3 { 4 /// <summary> 5 /// Required designer variable. 6 /// </summary> 7 private System.ComponentModel.IContainer components = null; 8 9 /// <summary> 10 /// Clean up any resources being used. 11 /// </summary> 12 /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> 13 protected override void Dispose(bool disposing) 4 14 { 5 /// <summary> 6 /// Required designer variable. 7 /// </summary> 8 private System.ComponentModel.IContainer components = null; 15 if (disposing && (components != null)) 16 { 17 components.Dispose(); 18 } 19 base.Dispose(disposing); 20 } 9 21 10 /// <summary> 11 /// Clean up any resources being used. 12 /// </summary> 13 /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> 14 protected override void Dispose(bool disposing) 15 { 16 if (disposing && (components != null)) 17 { 18 components.Dispose(); 19 } 20 base.Dispose(disposing); 21 } 22 #region Component Designer generated code 22 23 23 #region Component Designer generated code 24 /// <summary> 25 /// Required method for Designer support - do not modify 26 /// the contents of this method with the code editor. 27 /// </summary> 28 private void InitializeComponent() 29 { 30 this.SuspendLayout(); 31 // 32 // CanvasUI 33 // 34 this.ResumeLayout(false); 24 35 25 /// <summary> 26 /// Required method for Designer support - do not modify 27 /// the contents of this method with the code editor. 28 /// </summary> 29 private void InitializeComponent() 30 { 31 this.SuspendLayout(); 32 // 33 // CanvasUI 34 // 35 this.ResumeLayout(false); 36 } 36 37 37 } 38 39 #endregion 40 } 38 #endregion 39 } 41 40 } -
trunk/sources/HeuristicLab.Visualization/3.2/Drawing/CanvasUI.cs
r1884 r1964 4 4 using System.Windows.Forms; 5 5 6 namespace HeuristicLab.Visualization {6 namespace HeuristicLab.Visualization.Drawing { 7 7 public partial class CanvasUI : Control { 8 8 private readonly Canvas canvas = new Canvas(); … … 31 31 base.OnPaint(pe); 32 32 } catch (Exception e) { 33 Trace.WriteLine(e);33 Trace.WriteLine(e); 34 34 } 35 35 } -
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 } -
trunk/sources/HeuristicLab.Visualization/3.2/Drawing/IShape.cs
r1884 r1964 1 1 using System.Drawing; 2 2 3 namespace HeuristicLab.Visualization {3 namespace HeuristicLab.Visualization.Drawing { 4 4 /// <summary> 5 5 /// This is the base interface that has to be implemented by all shapes. -
trunk/sources/HeuristicLab.Visualization/3.2/Drawing/Transform.cs
r1884 r1964 1 1 using System.Drawing; 2 2 3 namespace HeuristicLab.Visualization {3 namespace HeuristicLab.Visualization.Drawing { 4 4 /// <summary> 5 5 /// GDI (or screen) coordinate system -
trunk/sources/HeuristicLab.Visualization/3.2/Drawing/WorldShape.cs
r1884 r1964 3 3 using System.Drawing.Drawing2D; 4 4 5 namespace HeuristicLab.Visualization {5 namespace HeuristicLab.Visualization.Drawing { 6 6 /// <summary> 7 7 /// World shapes are composite shapes that have their own coordinate system
Note: See TracChangeset
for help on using the changeset viewer.