PageRenderTime 9ms CodeModel.GetById 1ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/Main/src/DynamicDataDisplay/PointMarkers/CirclePointMarker.cs

#
C# | 14 lines | 10 code | 3 blank | 1 comment | 0 complexity | 3e3659b445666e8f8d8ae4f34770146f MD5 | raw file
 1using System.Windows;
 2using System.Windows.Media;
 3
 4namespace 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}