SVG widget?

Colin Holgate colinholgate at gmail.com
Sat May 13 10:02:31 EDT 2017


In LiveCode 8.1.4 the path data for the M seems to look ok, and I didn’t get any errors.


> On May 13, 2017, at 9:56 AM, hh via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> @Colin
> Your letter "R" is not part of the (single) path.
> 
> @Richmond
> The widget SVG Icon is set up to display at most ONE SINGLE path,
> no matter where the path comes from.
> 
> The format must according to dict fulfill the SVG specifications
> https://www.w3.org/TR/SVG/paths.html#PathData.
> 
> Colin's _path_ demo contains also elliptical arcs (a- or A-Elements).
> 
> That's what LC obviously does not (yet) support in LC 9.0.0-dp6.
> It IS supported by LC 8.1.4-rc2.
> 
> The extracted path is (shows an "M")
> 
> M257.85,186a119.82,119.82,0,0,1,7.09-38
> c.45-1.24.88-3.22,1.64-4.25,1.81-2.48,2.39-1.47,3.54.62
> q2.21,4,4.16,8.15a153.47,153.47,0,0,1,7.49,19.24
> c.35,1.11,2.19,1.62,2.74.36l8.43-19.06
> c1.14-2.58,2.26-7.56,4.21-9.53,3.42-3.46,3.32,4.4,3.69,6.83
> l6.41,42.15c.29,1.9,3.18,1.09,2.89-.8L305.78,163l-2-13.41
> c-.45-2.95-.15-8.14-2.26-10.52-3.93-4.44-6.94,3-8.06,5.57
> l-11.49,26,2.74.36a157.53,157.53,0,0,0-9.81-24.06
> c-1.37-2.69-4.73-12-9.17-7.74-2.16,2.07-3,6.2-4,8.9
> a119.47,119.47,0,0,0-3.62,12.24
> A124.63,124.63,0,0,0,254.85,186
> c-.05,1.93,2.95,1.93,3,0Z
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list