Esempio n. 1
0
 public void DrawEllipse(DUIPen pen, float x, float y, float width, float height)
 {
     pen.RenderTarget = this.target;
     if (pen.IsDefaultStyleProperties)
     {
         this.target.RenderTarget.DrawEllipse(DxConvert.ToEllipse(new RectangleF(x, y, width, height)), pen, pen.Width);
     }
     else
     {
         this.target.RenderTarget.DrawEllipse(DxConvert.ToEllipse(new RectangleF(x, y, width, height)), pen, pen.Width, pen);
     }
 }
Esempio n. 2
0
 public void FillEllipse(DUIBrush brush, float x, float y, float width, float height)
 {
     brush.RenderTarget = this.target;
     this.target.RenderTarget.FillEllipse(DxConvert.ToEllipse(new RectangleF(x, y, width, height)), brush);
 }