grabbing an SVG?

Richmond Mathewson richmondmathewson at gmail.com
Sun May 7 20:33:03 CEST 2017


I'm probably (not for the first time) being naive, BUT . . .

I want to import SVG images and have them behave exactly like other 
imported IMAGES with the
+++ of scalability and the non-fuzzy-edged rotations,

rather than "a whole different species".

Richmond.

On 5/7/17 9:29 pm, Klaus major-k via use-livecode wrote:
> Hi Richmond,
>
>> Am 07.05.2017 um 20:24 schrieb Richmond Mathewson via use-livecode <use-livecode at lists.runrev.com>:
>>
>> Oh, look, just for a change I am replying to my own message:
>>
>> On 5/7/17 9:15 pm, Richmond Mathewson wrote:
>>> If I import an image into a stack and give it this script:
>>>
>>> on mouseDown
>>>   grab me
>>> end mouseDown
>>>
>>> it works superbly: I can grab the image with my mouse and take it for a walk round the stack,
>>> and when I release the mouse button I drop the image.
>>>
>>> If I do that with an SVG widget things don't behave in the same way at all, at all.
>>>
>>> Richmond.
>> Turns out that if you GROUP the widget and put the GRAB script in the group things
>> work as they should . . .
>>
>> . . . Documentation . . . cough, cough
> I'm afraid most, if not all, widgets have not been programmed to react on any "mouse" message.
> Not sure if that is by purpose or not and if yes why 8-)
>
>> Richmond.
> Best
>
> Klaus
>
> --
> Klaus Major
> http://www.major-k.de
> 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:
> http://lists.runrev.com/mailman/listinfo/use-livecode



More information about the use-livecode mailing list