This commit is contained in:
@@ -781,12 +781,22 @@ Locale Français is customized [signature: 804154061] exporting
|
||||
System.Text.StringBuilder sb = new System.Text.StringBuilder();
|
||||
//open
|
||||
// sb.Append("<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" viewBox=\"0 0 300 100\" width=\"300\" height=\"100\">");
|
||||
sb.Append($"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"{width}\" height=\"{height}\">");
|
||||
sb.Append("<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"");
|
||||
sb.Append(width.ToString());
|
||||
sb.Append("\" height=\"");
|
||||
sb.Append(height.ToString());
|
||||
sb.Append("\">");
|
||||
//draw
|
||||
sb.Append($"<path d=\"M {lPoints[0].Item1},{lPoints[0].Item2} C ");
|
||||
sb.Append("<path d=\"M ");
|
||||
sb.Append(lPoints[0].Item1.ToString());
|
||||
sb.Append(",");
|
||||
sb.Append(lPoints[0].Item2.ToString());
|
||||
sb.Append("C ");
|
||||
foreach (var p in lPoints)
|
||||
{
|
||||
sb.Append($"{p.Item1},{p.Item2} ");
|
||||
sb.Append(p.Item1.ToString());
|
||||
sb.Append(",");
|
||||
sb.Append(p.Item2.ToString());
|
||||
}
|
||||
sb.Append("\" stroke-width=\"3\" stroke=\"rgb(0, 255, 255)\" fill=\"none\" stroke-linecap=\"round\"></path>");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user