Create image from SVG widget
brian at milby7.com
Wed Sep 23 09:21:59 EDT 2020
If it is placed in a library that is distributed with the IDE, then you wouldn’t need to worry about the LCB side of it.
If it is easy enough to translate a path in the compile code, LCB wouldn’t be needed at all. I just didn’t spend enough time to figure it out.
Sent from my iPhone
> On Sep 23, 2020, at 8:18 AM, Klaus major-k via use-livecode <use-livecode at lists.runrev.com> wrote:
> Hi Brian,
>> Am 23.09.2020 um 14:12 schrieb Brian Milby via use-livecode <use-livecode at lists.runrev.com>:
>> It doesn’t require an actual file, just an XML document.
> yes, I understood that already. 8-)
>> 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.
> Thank you, but LCB is still a complete mistery to me and that ain't gonna change in the near future...
>> Sent from my iPhone
>>> I just created an enhancement request to make drawingSVGCompile also work
>>> internally with a widget: <https://quality.livecode.com/show_bug.cgi?id=22915>
>>>> Am 22.09.2020 um 10:08 schrieb Klaus major-k via use-livecode <use-livecode at lists.runrev.com>:
>>>> Hi Brian,
>>>>>> Am 22.09.2020 um 05:38 schrieb Brian Milby via use-livecode <use-livecode at lists.runrev.com>:
>>>>> Here's a link to the post in the archives:
> Klaus Major
> klaus at major-k.de
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
More information about the use-livecode