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); }
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); }
public override void Render(DrawingContext dx, Point screenPoint, MarkersPoint mp) { throw new System.NotImplementedException(); }
/// <summary> /// /// </summary> /// <param name="dx"></param> /// <param name="screenPoint"></param> /// <param name="mp"></param> public abstract void Render(DrawingContext dx, Point screenPoint, MarkersPoint mp);