public void FillEllipse(D2D1Ellipse ellipse, D2D1Brush brush)
        {
            if (brush == null)
            {
                throw new ArgumentNullException("brush");
            }

            this.GetHandle<ID2D1RenderTarget>().FillEllipse(ref ellipse, brush.GetHandle<ID2D1Brush>());
        }
 public D2D1EllipseGeometry CreateEllipseGeometry(D2D1Ellipse ellipse)
 {
     ID2D1EllipseGeometry ellipseGeometry;
     this.factory.CreateEllipseGeometry(ref ellipse, out ellipseGeometry);
     return new D2D1EllipseGeometry(ellipseGeometry);
 }
        public void DrawEllipse(D2D1Ellipse ellipse, D2D1Brush brush, float strokeWidth, D2D1StrokeStyle strokeStyle)
        {
            if (brush == null)
            {
                throw new ArgumentNullException("brush");
            }

            this.GetHandle<ID2D1RenderTarget>().DrawEllipse(ref ellipse, brush.GetHandle<ID2D1Brush>(), strokeWidth, strokeStyle == null ? null : strokeStyle.GetHandle<ID2D1StrokeStyle>());
        }