source:
branches/HeuristicLab.Problems.GrammaticalOptimization/DynamicDataDisplay/PointMarkers/CirclePointMarker.cs
@
12830
Last change on this file since 12830 was 12503, checked in by aballeit, 9 years ago | |
---|---|
File size: 403 bytes |
Line | |
---|---|
1 | using System.Windows; |
2 | using System.Windows.Media; |
3 | |
4 | namespace Microsoft.Research.DynamicDataDisplay.PointMarkers |
5 | { |
6 | /// <summary>Renders circle around each point of graph</summary> |
7 | public class CirclePointMarker : ShapePointMarker { |
8 | |
9 | public override void Render(DrawingContext dc, Point screenPoint) { |
10 | dc.DrawEllipse(Fill, Pen, screenPoint, Size / 2, Size / 2); |
11 | } |
12 | } |
13 | |
14 | } |
Note: See TracBrowser
for help on using the repository browser.