Example #1
0
 public override void BuildSVGCurve()
 {
     Curve.Clear();
     Curve.Append("M " + (CenterX - Radius) + " " + CenterY + " " + Environment.NewLine);
     Curve.Append("a " + Radius + " " + Radius + " 0 1 0 " + Radius * 2 + " 0" + Environment.NewLine);
     Curve.Append("a " + Radius + " " + Radius + " 0 1 0 -" + Radius * 2 + " 0");
 }
Example #2
0
        public override void BuildSVGCurve()
        {
            Curve.Clear();
            Curve.Append("M ");

            foreach (wPoint Pt in Points)
            {
                Curve.Append(Pt.X + "," + Pt.Y + " ");
            }
            Curve.Append(Closed);
        }
Example #3
0
        public override void BuildSVGCurve()
        {
            Curve.Clear();
            Curve.Append("M " + Points[0].X + " " + Points[0].Y + " ");
            Curve.Append("C " + Points[1].X + " " + Points[1].Y + " ");

            for (int i = 2; i < Points.Count; i++)
            {
                Curve.Append(Points[i].X + " " + Points[i].Y + " ");
            }
        }
Example #4
0
 public override void BuildSVGCurve()
 {
     Curve.Clear();
     Curve.Append("<text x=\"0\" y=\"0\" " + Environment.NewLine);
     Curve.Append("font-style=\"" + FontItalic.ToString() + "\" " + Environment.NewLine);
     Curve.Append("font-weight=\"" + FontBold.ToString() + "\" " + Environment.NewLine);
     Curve.Append("text-anchor=\"" + HorizontalAlignment.ToString() + "\" " + Environment.NewLine);
     Curve.Append("alignment-baseline=\"" + VerticalAlignment.ToString() + "\" " + Environment.NewLine);
     Curve.Append("transform=\"rotate(" + Angle + " " + Origin.X + " " + Origin.Y + ") scale(1,-1) translate(" + Origin.X + " " + (-1 * Origin.Y) + ") \"" + Environment.NewLine);
     Curve.Append("style=\"font-family: " + Font.Name + ";" + Environment.NewLine);
     Curve.Append("font-size: " + Font.Size + "px;" + Environment.NewLine);
     Curve.Append("fill: rgb(" + Font.FontColor.R + "," + Font.FontColor.G + "," + Font.FontColor.B + ");\"> " + Environment.NewLine);
     Curve.Append(Text + Environment.NewLine);
     Curve.Append("</text> " + Environment.NewLine);
 }
Example #5
0
 public void AddCurve(hCubicBezierSpline HoopoeSpline)
 {
     Curve.Append(HoopoeSpline.Curve.ToString());
 }
Example #6
0
 public void AddCurve(hPolyline HoopoePolyline)
 {
     Curve.Append(HoopoePolyline.Curve.ToString());
 }
Example #7
0
 public override void BuildSVGCurve()
 {
     Curve.Clear();
     Curve.Append("M " + StartX + "," + StartY + " " + EndX + "," + EndY + " ");
 }