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

# · C# · 14 lines · 10 code · 3 blank · 1 comment · 0 complexity · 3e3659b445666e8f8d8ae4f34770146f MD5 · raw file

  1. using System.Windows;
  2. using System.Windows.Media;
  3. namespace Microsoft.Research.DynamicDataDisplay.PointMarkers
  4. {
  5. /// <summary>Renders circle around each point of graph</summary>
  6. public class CirclePointMarker : ShapePointMarker {
  7. public override void Render(DrawingContext dc, Point screenPoint) {
  8. dc.DrawEllipse(Fill, Pen, screenPoint, Size / 2, Size / 2);
  9. }
  10. }
  11. }