Last change
on this file since 2861 was
2768,
checked in by mkommend, 15 years ago
|
added solution folders and sources for the netron library (ticket #867)
|
File size:
981 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 ZoomOutTool : ZoomToolBase
|
---|
14 | {
|
---|
15 | // ------------------------------------------------------------------
|
---|
16 | /// <summary>
|
---|
17 | /// Constructor.
|
---|
18 | /// </summary>
|
---|
19 | /// <param name="toolName">string: The name of the tool.</param>
|
---|
20 | // ------------------------------------------------------------------
|
---|
21 | public ZoomOutTool(string toolName)
|
---|
22 | : base(toolName)
|
---|
23 | {
|
---|
24 | // Decrease the magnification by a little to zoom out.
|
---|
25 | base.myZoomFactor = 0.9F;
|
---|
26 | }
|
---|
27 | }
|
---|
28 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.