Create image from SVG widget

Brian Milby brian at
Wed Sep 23 08:12:43 EDT 2020

It doesn’t require an actual file, just an XML document.  I posted LCB code to convert the SVG path to what is needed for the compile.  It will require an engine change or LCB to get the path translated to remove top/left extra space.

I think the best way would be to update one of the LCB libraries to include my handler and the add a handler to the drawing library that uses it to do the compile.

Now that I’m writing/thinking, it might could be done inside the LCB code with a call to the compile script.

Sent from my iPhone

> On Sep 23, 2020, at 3:19 AM, Klaus major-k via use-livecode <use-livecode at> wrote:
> Hi all,
> FYI:
> I just created an enhancement request to make drawingSVGCompile also work
> internally with a widget: <>
>> Am 22.09.2020 um 10:08 schrieb Klaus major-k via use-livecode <use-livecode at>:
>> Hi Brian,
>>>> Am 22.09.2020 um 05:38 schrieb Brian Milby via use-livecode <use-livecode at>:
>>> Here's a link to the post in the archives:
>>> I could get close, but still needed to work out a way to translate the path
>>> to improve upon what was already discussed.  (I can get the actual bounding
>>> box, but it doesn't really help with eliminating the need to use the cropIt
>>> handler.)
>> ...
> Best
> Klaus
> --
> Klaus Major
> klaus at
> _______________________________________________
> use-livecode mailing list
> use-livecode at
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

More information about the use-livecode mailing list