Exemple #1
0
        public override void Render(DrawingContext dx, Point screenPoint, MarkersPoint mp)
        {
            dx.DrawEllipse(Fill, Pen, screenPoint, Size / 2, Size / 2);

            dx.DrawText(new FormattedText(mp.desc,//s
                                          System.Globalization.CultureInfo.GetCultureInfo("zh-cn"),
                                          FlowDirection.LeftToRight,
                                          new Typeface("Verdana"),
                                          8,
                                          Brushes.Black), screenPoint);
        }
Exemple #2
0
        public override bool Equals(object obj)
        {
            if (obj == null)
            {
                return(false);
            }
            if (obj.GetType() != typeof(MarkersPoint))
            {
                return(false);
            }
            MarkersPoint C = obj as MarkersPoint;

            return(this.x == C.x);
        }
Exemple #3
0
 public override void Render(DrawingContext dx, Point screenPoint, MarkersPoint mp)
 {
     throw new System.NotImplementedException();
 }
Exemple #4
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="dx"></param>
 /// <param name="screenPoint"></param>
 /// <param name="mp"></param>
 public abstract void Render(DrawingContext dx, Point screenPoint, MarkersPoint mp);