Changeset 9181 for trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.Netron/3.0.2672.12446/HeuristicLab.Netron-3.0.2672.12446/View.cs
- Timestamp:
- 01/22/13 22:57:09 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.Netron/3.0.2672.12446/HeuristicLab.Netron-3.0.2672.12446/View.cs
r4068 r9181 42 42 this.HorizontalRuler.Visible = true; 43 43 this.VerticalRuler.Visible = true; 44 GhostsFactory.View = this;45 44 } 46 45 … … 102 101 Ghost = GhostsFactory.GetGhost( 103 102 new Point[] { ltPoint, rbPoint }, 104 GhostTypes.Ellipse );103 GhostTypes.Ellipse, this); 105 104 } 106 105 public override void PaintGhostRectangle( … … 112 111 Ghost = GhostsFactory.GetGhost( 113 112 new Point[] { ltPoint, rbPoint }, 114 GhostTypes.Rectangle );113 GhostTypes.Rectangle, this); 115 114 } 116 115 public override void PaintAntsRectangle( … … 129 128 Ghost = GhostsFactory.GetGhost( 130 129 new Point[] { ltPoint, rbPoint }, 131 GhostTypes.Line );130 GhostTypes.Line, this); 132 131 } 133 132 public override void PaintGhostLine( … … 139 138 switch (curveType) { 140 139 case MultiPointType.Straight: 141 Ghost = GhostsFactory.GetGhost(points, GhostTypes.MultiLine );140 Ghost = GhostsFactory.GetGhost(points, GhostTypes.MultiLine, this); 142 141 break; 143 142 case MultiPointType.Polygon: 144 Ghost = GhostsFactory.GetGhost(points, GhostTypes.Polygon );143 Ghost = GhostsFactory.GetGhost(points, GhostTypes.Polygon, this); 145 144 break; 146 145 case MultiPointType.Curve: 147 Ghost = GhostsFactory.GetGhost(points, GhostTypes.CurvedLine );146 Ghost = GhostsFactory.GetGhost(points, GhostTypes.CurvedLine, this); 148 147 break; 149 148
Note: See TracChangeset
for help on using the changeset viewer.