- Timestamp:
- 03/02/09 22:03:41 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Visualization/HorizontalLineShape.cs
r1234 r1240 17 17 minLineShape = new LineShape(0, yMin, 1, yMin, color, thickness, style); 18 18 maxLineShape = new LineShape(0, yMax, 1, yMax, color, thickness, style); 19 shapes.Add(minLineShape);20 shapes.Add(maxLineShape);19 AddShape(minLineShape); 20 AddShape(maxLineShape); 21 21 } 22 22 23 public override void Draw(Graphics graphics , Rectangle parentViewport, RectangleD parentClippingArea) {23 public override void Draw(Graphics graphics) { 24 24 minLineShape.X1 = ClippingArea.X1; 25 25 minLineShape.X2 = ClippingArea.X2; 26 26 maxLineShape.X1 = ClippingArea.X1; 27 27 maxLineShape.X2 = ClippingArea.X2; 28 base.Draw(graphics , parentViewport, parentClippingArea);28 base.Draw(graphics); 29 29 } 30 30
Note: See TracChangeset
for help on using the changeset viewer.