Last change
on this file since 2868 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 | |
---|
1 | using System;
|
---|
2 | using System.Collections.Generic;
|
---|
3 | using System.Text;
|
---|
4 | using System.Drawing;
|
---|
5 |
|
---|
6 | namespace 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.