Exemplo n.º 1
0
 public void ArcToClosed(IGeometryTarget target)
 {
     const double pi = Math.PI;
     target.MoveTo(Left, Top);
     target.ArcTo(Left, Top, Width, Height, 0, pi / 2);
     target.Close();
 }
Exemplo n.º 2
0
 public void LineToClosed(IGeometryTarget target)
 {
     target.MoveTo(Left, Top);
     target.LineTo(Width, Height / 2);
     target.LineTo(Height / 2, Height);
     target.Close();
 }
Exemplo n.º 3
0
        public void ArcToClosed(IGeometryTarget target)
        {
            const double pi = Math.PI;

            target.MoveTo(Left, Top);
            target.ArcTo(Left, Top, Width, Height, 0, pi / 2);
            target.Close();
        }
Exemplo n.º 4
0
 public void LineToClosed(IGeometryTarget target)
 {
     target.MoveTo(Left, Top);
     target.LineTo(Width, Height/2);
     target.LineTo(Height/2, Height);
     target.Close();
 }
Exemplo n.º 5
0
 public void BezierToClosed(IGeometryTarget target)
 {
     target.MoveTo(Left, Top);
     target.BezierTo(Left + Width, Top, Left, Top + Height, Left + Width, Top + Height);
     target.Close();
 }
Exemplo n.º 6
0
 public void BezierToClosed(IGeometryTarget target)
 {
     target.MoveTo(Left, Top);
     target.BezierTo(Left + Width, Top, Left, Top + Height, Left + Width, Top + Height);
     target.Close();
 }