void RenderGeometry() { var ellipse = new Ellipse(new Vector2(100, 100), 3, 3); d2dDeviceContext.FillEllipse(ellipse, VertexFillBrush); d2dDeviceContext.DrawEllipse(ellipse, VertexDrawBrush, 0.5f); }
public void DrawEllipse(Ellipse ellipse, Brush brush, float strokeThickness = 1.0f) { deviceContext.DrawEllipse(ellipse, brush, strokeThickness); }
public override void Draw(Direct2D.DeviceContext renderTarget, Direct2D.Brush brush) { renderTarget.DrawEllipse(Ellipse, brush, 1.0f); }