Free cookie consent management tool by TermsFeed Policy Generator

source: trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.Netron/3.0.2672.12446/Netron.Diagramming.Core-3.0.2672.12446/Tools/ZoomInTool.cs @ 2768

Last change on this file since 2768 was 2768, checked in by mkommend, 14 years ago

added solution folders and sources for the netron library (ticket #867)

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