From c628ccaf6a75b5afde379ab4ca07ca79137ad1ca Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Tue, 10 Aug 2021 19:52:00 +0000 Subject: [PATCH] --- server/AyaNova/util/SigV7Util.cs | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/server/AyaNova/util/SigV7Util.cs b/server/AyaNova/util/SigV7Util.cs index a3ea819e..0f4b1d44 100644 --- a/server/AyaNova/util/SigV7Util.cs +++ b/server/AyaNova/util/SigV7Util.cs @@ -24,13 +24,7 @@ namespace AyaNova.Util } } } - /* - 71.5,77.19999694824219 71.5,79.19999694824219 71.5,83.19999694824219 71.5,91.19999694824219 74.5,101.19999694824219 75.5,103.19999694824219 80.5,104.19999694824219 86.5,104.19999694824219 96.5,101.19999694824219 116.5,91.19999694824219 145.5,75.19999694824219 167.5, - 61.19999694824219 183.5,50.19999694824219 194.5,42.19999694824219 197.5,42.19999694824219 199.5,51.19999694824219 202.5,66.19999694824219 210.5,87.19999694824219 219.5,94.19999694824219 235.5,97.19999694824219 260.5,89.19999694824219 298.5,74.19999694824219 326.5, - 62.19999694824219 339.5,56.19999694824219 343.5,58.19999694824219 345.5,62.19999694824219 349.5,74.19999694824219 357.5,87.19999694824219 368.5,97.19999694824219 387.5,99.19999694824219 423.5,89.19999694824219 465.5,71.19999694824219 498.5,55.19999694824219 511.5, - 48.19999694824219 514.5,52.19999694824219 514.5,57.19999694824219 515.5,65.19999694824219 515.5,67.19999694824219 518.5,67.19999694824219 521.5,67.19999694824219 521.5,67.19999694824219 - */ - + //"71.5,77.19999694824219 71.5,79.19999694824219 71.5,83.19999694824219 71.5,91.19999694824219 74.5,101.19999694824219 75.5,103.19999694824219 80.5,104.19999694824219 86.5,104.19999694824219 96.5,101.19999694824219 116.5,91.19999694824219 145.5,75.19999694824219 167.5,61.19999694824219 183.5,50.19999694824219 194.5,42.19999694824219 197.5,42.19999694824219 199.5,51.19999694824219 202.5,66.19999694824219 210.5,87.19999694824219 219.5,94.19999694824219 235.5,97.19999694824219 260.5,89.19999694824219 298.5,74.19999694824219 326.5,62.19999694824219 339.5,56.19999694824219 343.5,58.19999694824219 345.5,62.19999694824219 349.5,74.19999694824219 357.5,87.19999694824219 368.5,97.19999694824219 387.5,99.19999694824219 423.5,89.19999694824219 465.5,71.19999694824219 498.5,55.19999694824219 511.5,48.19999694824219 514.5,52.19999694824219 514.5,57.19999694824219 515.5,65.19999694824219 515.5,67.19999694824219 518.5,67.19999694824219 521.5,67.19999694824219 521.5,67.19999694824219" //handmade equivalent // @@ -40,9 +34,9 @@ namespace AyaNova.Util // // //https://developer.mozilla.org/en-US/docs/Web/SVG/Tutorial/Paths - //NOTE: v7 sigpad is 300 by 100 pixels - //so first guess is to treat the canvas as that size for svg - // + //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 + @@ -55,7 +49,7 @@ namespace AyaNova.Util foreach(var p in lPoints){ sb.Append($"{p.Item1},{p.Item2} "); } - sb.Append("\" stroke-width=\"3\" stroke=\"rgb(0, 255, 0)\" fill=\"none\" stroke-linecap=\"round\">"); + sb.Append("\" stroke-width=\"3\" stroke=\"rgb(0, 255, 255)\" fill=\"none\" stroke-linecap=\"round\">"); //close sb.Append("");