Well, as not all of us have Adobe Illustrator [ http://lessons.livecode.com/m/33498/l/3 ... -extension ]
I thought I would put together a similar "Show-Me" thing using Inkscape [ https://inkscape.org/en/ ]:
Open or create your shape in Inkscape:
Select ALL the layers:
Make sure it is a compound path:
			
			
													Importing an SVG with the new Widget
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
- 
				richmond62
 - Livecode Opensource Backer

 - Posts: 10204
 - Joined: Fri Feb 19, 2010 10:17 am
 
Importing an SVG with the new Widget
					Last edited by richmond62 on Sat Mar 12, 2016 6:16 pm, edited 1 time in total.
									
			
									
						- 
				richmond62
 - Livecode Opensource Backer

 - Posts: 10204
 - Joined: Fri Feb 19, 2010 10:17 am
 
Re: Importing an SVG with the new Widget
Save under a different name:
Notice how the image has changed.
Open the new image in a text editor:
Get the d="..." data
			
			
									
									
						Notice how the image has changed.
Open the new image in a text editor:
Get the d="..." data
- 
				richmond62
 - Livecode Opensource Backer

 - Posts: 10204
 - Joined: Fri Feb 19, 2010 10:17 am
 
Re: Importing an SVG with the new Widget
Paste into iconPath field:
Here's a ZIP file with the resultant stack and the original SVG file so you can play around
with this yourself:
			
			
									
									
						Here's a ZIP file with the resultant stack and the original SVG file so you can play around
with this yourself:
- 
				richmond62
 - Livecode Opensource Backer

 - Posts: 10204
 - Joined: Fri Feb 19, 2010 10:17 am
 
Re: Importing an SVG with the new Widget
Unfortunately the imported image is not exactly the same as the original SVG image,
and until that happens SVG import is a fudge.
			
			
									
									
						and until that happens SVG import is a fudge.