Free cookie consent management tool by TermsFeed Policy Generator

source: tags/3.3.10/HeuristicLab.ExtLibs/HeuristicLab.Netron/3.0.2672.12446/Netron.Diagramming.Core-3.0.2672.12446/Tools/ZoomInTool.cs

Last change on this file was 4068, checked in by swagner, 14 years ago

Sorted usings and removed unused usings in entire solution (#1094)

File size: 806 bytes
Line 
1
2namespace Netron.Diagramming.Core {
3  // ----------------------------------------------------------------------
4  /// <summary>
5  /// Allows the user to incrementally adjust (increase) the magnification.
6  /// </summary>
7  // ----------------------------------------------------------------------
8  public class ZoomInTool : ZoomToolBase {
9    // ------------------------------------------------------------------
10    /// <summary>
11    /// Constructor.
12    /// </summary>
13    /// <param name="toolName">string: The  name of the tool.</param>
14    // ------------------------------------------------------------------
15    public ZoomInTool(string toolName)
16      : base(toolName) {
17      // Increase the magnification by a little to zoom in.
18      base.myZoomFactor = 1.1F;
19    }
20  }
21}
Note: See TracBrowser for help on using the repository browser.