Re: Import SVG with Multi-Path and Two colors

2020-01-02 Thread Bob Sneidar via use-livecode
An even better questions is, why can't an imported image have a file path property as well as a button? This is really where the file path SHOULD be. Think of it. We import an image. We create a button. We tell the button to use the imported image as an icon. We then tell the BUTTON where the IM

Re: Import SVG with Multi-Path and Two colors

2020-01-02 Thread Klaus major-k via use-livecode
Hi all, > Am 02.01.2020 um 21:51 schrieb Sannyasin Brahmanathaswami via use-livecode > : > > ... > Now, using Image As Control --> Image File [choose below in a file:} > it works. But it is not possibly to put this in the Path field, of the SVG > icon. > So, Mark W. has done some magic in the

Re: Import SVG with Multi-Path and Two colors

2020-01-02 Thread Sannyasin Brahmanathaswami via use-livecode
Sorry, that doesn’t work, I just get a white box I needed the background to be opaque and was trying to do that in SVG widget Anyway, I had my designer send another opaque version from the output from Sketch Now, using Image As Control --> Image File [choose below in a file:} it works. But it

Re: Import SVG with Multi-Path and Two colors

2020-01-01 Thread dev via use-livecode
Aloha Swami, Noticed a bit of garbage in the previous code. This one’s better. Cheers -dd ——— http://www.w3.org/2000/svg"; viewBox="0 0 1000 1000"> ___ use-livecode mailing list use-livecode@lists.runrev.com Plea

Re: Import SVG with Multi-Path and Two colors

2020-01-01 Thread dev via use-livecode
Aloha Swami, Does this work for you? ———Code-- http://www.w3.org/2000/svg"; viewBox="0 0 1000 1000"> ———End-Code—— Cheers, Debdoot > On Dec 31, 2019, at 11:39 AM, Sannyasin Brahmanathaswami via use-livecode > wrote: > > I woul

Import SVG with Multi-Path and Two colors

2019-12-31 Thread Sannyasin Brahmanathaswami via use-livecode
I would like to import an SVG that has multiple paths and which two colors. Using Illustrator or Inkscape, merge compound path make them all the same color But the following SVG imports fine as an image in LC and has multiple colors. Granted they are all circles, but can't the above by turned