Create image from SVG widget
brian at milby7.com
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 lists.runrev.com> wrote:
> Hi all,
> 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:
>>> 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
> 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