Changeset 4068 for trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.Netron/3.0.2672.12446/Netron.Diagramming.Core-3.0.2672.12446/Tools/ZoomOutTool.cs
- Timestamp:
- 07/22/10 00:44:01 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.Netron/3.0.2672.12446/Netron.Diagramming.Core-3.0.2672.12446/Tools/ZoomOutTool.cs
r2768 r4068 1 using System;2 using System.Collections.Generic;3 using System.Text;4 using System.Drawing;5 1 6 namespace Netron.Diagramming.Core 7 { 8 // ---------------------------------------------------------------------- 2 namespace Netron.Diagramming.Core { 3 // ---------------------------------------------------------------------- 4 /// <summary> 5 /// Allows the user to incrementally adjust (increase) the magnification. 6 /// </summary> 7 // ---------------------------------------------------------------------- 8 public class ZoomOutTool : ZoomToolBase { 9 // ------------------------------------------------------------------ 9 10 /// <summary> 10 /// Allows the user to incrementally adjust (increase) the magnification.11 /// Constructor. 11 12 /// </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 } 13 /// <param name="toolName">string: The name of the tool.</param> 14 // ------------------------------------------------------------------ 15 public ZoomOutTool(string toolName) 16 : base(toolName) { 17 // Decrease the magnification by a little to zoom out. 18 base.myZoomFactor = 0.9F; 27 19 } 20 } 28 21 }
Note: See TracChangeset
for help on using the changeset viewer.