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
-
- Livecode Opensource Backer
- Posts: 9416
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Importing an SVG with the new Widget
Last edited by richmond62 on Sat Mar 12, 2016 6:16 pm, edited 1 time in total.
-
- Livecode Opensource Backer
- Posts: 9416
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
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
-
- Livecode Opensource Backer
- Posts: 9416
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
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:
-
- Livecode Opensource Backer
- Posts: 9416
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
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.