This commit is contained in:
@@ -775,8 +775,7 @@ Locale Français is customized [signature: 804154061] exporting
|
||||
//<path d="M 79.400,15.300 C 82.236,17.326 82.400,16.800 85.400,18.300" stroke-width="5.525" stroke="rgb(0, 0, 0)" fill="none" stroke-linecap="round"></path>
|
||||
//<path d="M 85.400,18.300 C 88.884,19.030 88.736,19.326 92.400,19.300" stroke-wke="rgb(0, 0, 0)" fill="none" stroke-linecap="round"></path><path d="M 510.400,91.300 C 513.725,93.769 513.448,93.840 517.400,95.300" stroke-width="4.888" stroke="rgb(0, 0, 0)" fill="none" stroke-linecap="round"></path><path d="M 517.400,95.300 C 519.870,96.105 519.725,96.269 522.400,96.300" stroke-width="5.121" stroke="rgb(0, 0, 0)" fill="none" stroke-linecap="round"></path></svg>
|
||||
//https://developer.mozilla.org/en-US/docs/Web/SVG/Tutorial/Paths
|
||||
//NOTE: v7 sigpad is 300 by 100 pixels, however the points drawn are way larger than that so going with v8 size
|
||||
//If this proves to be an issue could perhaps look for the largest coordinates then use that as the size, though I think
|
||||
|
||||
|
||||
System.Text.StringBuilder sb = new System.Text.StringBuilder();
|
||||
//open
|
||||
@@ -805,7 +804,6 @@ Locale Français is customized [signature: 804154061] exporting
|
||||
sb.Append("</svg>");
|
||||
return "data:image/svg+xml;base64," + Convert.ToBase64String(System.Text.Encoding.UTF8.GetBytes(sb.ToString()));
|
||||
|
||||
//todo append sb.ToString(); as base64 string
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user