I agree - but I need fully scalable controls for Augmented Earth now, not
later, and the current SVG objects are not complete.
My app uses the browser widget anyway, so not worried about the overhead.
Sent from my iPhone
> On May 11, 2017, at 10:49 AM, Richard Gaskin via use-livecode
>
Alejandro Tejada wrote:
>> What is the purpose of the existing SVG widget
>> if not to render SVGs?
>
> SVG widget does not render SVG.
To paraphrase the late great Mr. Jobs, why doesn't it do that?
What purpose does an SVG widget serve if not to bring SVG into LC?
--
Richard Gaskin
Fourth
> What is the purpose of the existing SVG widget
> if not to render SVGs?
SVG widget does not render SVG.
SVG widget uses the path data of SVG to draw
a vector graphic.
More surprising is learning that still today,
does not exist a SVG render that
fully cover the SVG specification...
SVG renders
jonathandlynch wrote:
> I just did an experiment. It appears to be possible to have an image
> object that stores svg data in a custom property. It connects to a
> hidden browser widget to do the following:
>
> - squirt the svg data into an HTML canvas
> - resize the svg image using the
Hi Alejandro,
I am almost done. It has a weird bug where the widget only works after the
first attempt for each image. It works great after that. I will get it, though.
Sent from my iPhone
> On May 10, 2017, at 11:09 PM, Alejandro Tejada via use-livecode
>
Hi All,
On May 10, 2017, Hermann wrote:
> This is essentially already done by Alejandro with SVGtoPNG,
> see the Forum/RichMedia.
Many Thanks for remember these stacks! :D
They worked more as an experiment or a Proof-of-Concept.
Jonathan's work in this area is the real deal.
Immediately useful
Hi Jonathan,
if you do it anyway, then you could also add SVG-Filter.
Not too much work, they can easily be chained and work fine
in the browser widget (where the browser widget works ...).
I have it working but have no time for the demostack.
Hermann
Ah - sorry to reinvent the wheel. I already did it, though, and it allows for
live near-perfect resizing, so I will go ahead and share it for that one aspect.
Sent from my iPhone
> On May 10, 2017, at 6:40 PM, hh via use-livecode
> wrote:
>
> This is
This is essentially already done by Alejandro with SVGtoPNG,
see the Forum/RichMedia.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
Sweet!
> On May 10, 2017, at 11:55 , Jonathan Lynch via use-livecode
> wrote:
>
> I just did an experiment. It appears to be possible to have an image object
> that stores svg data in a custom property.
___
I just did an experiment. It appears to be possible to have an image object
that stores svg data in a custom property. It connects to a hidden browser
widget to do the following:
- squirt the svg data into an HTML canvas
- resize the svg image using the setscale() method
- export the resized
11 matches
Mail list logo