Free cookie consent management tool by TermsFeed Policy Generator

Changeset 862 for trunk


Ignore:
Timestamp:
11/29/08 12:21:51 (16 years ago)
Author:
shofstad
Message:

added code comments (#406)

Location:
trunk/sources/HeuristicLab.Visualization
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Visualization/ICanvas.cs

    r635 r862  
    22
    33namespace HeuristicLab.Visualization {
     4  /// <summary>
     5  /// ICanvas Interface
     6  /// </summary>
    47  public interface ICanvas {
    58    void Draw(Graphics graphics, Rectangle viewport);
  • trunk/sources/HeuristicLab.Visualization/Transform.cs

    r635 r862  
    33namespace HeuristicLab.Visualization {
    44  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>
    613    public static RectangleD ToWorld(Rectangle rect, Rectangle viewport, RectangleD clippingArea) {
    714      double x1 = ToWorldX(rect.Left, viewport, clippingArea);
     
    2633    }
    2734
    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>
    2942    public static Rectangle ToScreen(RectangleD rect, Rectangle viewport, RectangleD clippingArea) {
    3043      int left = ToScreenX(rect.X1, viewport, clippingArea);
  • trunk/sources/HeuristicLab.Visualization/WorldShape.cs

    r635 r862  
    2929    }
    3030
     31    /// <summary>
     32    ///
     33    /// </summary>
    3134    public RectangleD BoundingBox {
    3235      get { return boundingBox; }
    3336    }
    3437
     38    /// <summary>
     39    /// adds a shape to the WorldShape
     40    /// </summary>
     41    /// <param name="shape">shape to add</param>
    3542    public void AddShape(IShape shape) {
    3643      shapes.Add(shape);
Note: See TracChangeset for help on using the changeset viewer.