Free cookie consent management tool by TermsFeed Policy Generator

source: stable/HeuristicLab.ExtLibs/HeuristicLab.Netron/3.0.2672.12446/Netron.Diagramming.Core-3.0.2672.12446/Tools/ZoomInTool.cs @ 13400

Last change on this file since 13400 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.