public void FillEllipse(object dc, ShapeRenderer renderer, PointShape s, double radius, double dx, double dy) { _ellipse.Style = _fillStyle; _ellipse.TopLeft.X = s.X - radius; _ellipse.TopLeft.Y = s.Y - radius; _ellipse.BottomRight.X = s.X + radius; _ellipse.BottomRight.Y = s.Y + radius; _ellipse.Draw(dc, renderer, dx, dy, null, null); }
internal void FillEllipse(object dc, IShapeRenderer renderer, IPointShape s, double radius, double dx, double dy, double scale) { _ellipse.StyleId = _fillStyleId; _ellipse.StartPoint.X = s.X - radius; _ellipse.StartPoint.Y = s.Y - radius; _ellipse.Point.X = s.X + radius; _ellipse.Point.Y = s.Y + radius; _ellipse.Draw(dc, renderer, dx, dy, scale, null, null); }