grabbing an SVG?
richmondmathewson at gmail.com
Sun May 7 14:33:03 EDT 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".
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.
>> 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-)
> 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