- Timestamp:
- 11/29/08 12:21:51 (16 years ago)
- Location:
- trunk/sources/HeuristicLab.Visualization
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Visualization/ICanvas.cs
r635 r862 2 2 3 3 namespace HeuristicLab.Visualization { 4 /// <summary> 5 /// ICanvas Interface 6 /// </summary> 4 7 public interface ICanvas { 5 8 void Draw(Graphics graphics, Rectangle viewport); -
trunk/sources/HeuristicLab.Visualization/Transform.cs
r635 r862 3 3 namespace HeuristicLab.Visualization { 4 4 public static class Transform { 5 // Screen to world transformations 5 6 /// <summary> 7 /// Screen to world transformations 8 /// </summary> 9 /// <param name="rect"></param> 10 /// <param name="viewport"></param> 11 /// <param name="clippingArea"></param> 12 /// <returns></returns> 6 13 public static RectangleD ToWorld(Rectangle rect, Rectangle viewport, RectangleD clippingArea) { 7 14 double x1 = ToWorldX(rect.Left, viewport, clippingArea); … … 26 33 } 27 34 28 // World to screen transformations 35 /// <summary> 36 /// World to screen transformations 37 /// </summary> 38 /// <param name="rect"></param> 39 /// <param name="viewport"></param> 40 /// <param name="clippingArea"></param> 41 /// <returns></returns> 29 42 public static Rectangle ToScreen(RectangleD rect, Rectangle viewport, RectangleD clippingArea) { 30 43 int left = ToScreenX(rect.X1, viewport, clippingArea); -
trunk/sources/HeuristicLab.Visualization/WorldShape.cs
r635 r862 29 29 } 30 30 31 /// <summary> 32 /// 33 /// </summary> 31 34 public RectangleD BoundingBox { 32 35 get { return boundingBox; } 33 36 } 34 37 38 /// <summary> 39 /// adds a shape to the WorldShape 40 /// </summary> 41 /// <param name="shape">shape to add</param> 35 42 public void AddShape(IShape shape) { 36 43 shapes.Add(shape);
Note: See TracChangeset
for help on using the changeset viewer.