Page 2 of 2

Re: Putting image into a circle shape

Posted: Sat Nov 24, 2018 4:24 pm
by richmond62
Did you notice the questionmark at the end of my first sentence? 8)
Yes, but I chose to ignore it: because, in that way, we could continue our lover's tiff a bit longer. :D

Re: Putting image into a circle shape

Posted: Sat Nov 24, 2018 4:32 pm
by Klaus
OK, I fully understand that! :D

Re: Putting image into a circle shape

Posted: Sat Nov 24, 2018 4:38 pm
by Klaus
Oops, sorry, of course I meant:
I fully understand that, DARLING! :D

Re: Putting image into a circle shape

Posted: Sat Nov 24, 2018 10:23 pm
by bogs
Klaus wrote: Sat Nov 24, 2018 4:38 pm Oops, sorry, of course I meant:
Yes, Dear ! :D
There, fixed that for you :P

Re: Putting image into a circle shape

Posted: Sat Nov 24, 2018 10:36 pm
by Klaus
How dare you? :shock:

Re: Putting image into a circle shape

Posted: Sun Nov 25, 2018 11:46 am
by richmond62
Ménage à trois . . .

Re: Putting image into a circle shape

Posted: Sun Nov 25, 2018 4:35 pm
by [-hh]
Here a very simple solution, no grouping, no pattern needed.

1. create an opaque circle graphic
2. create your image (layered *over* the circle graphic)
3. set ink of the circle graphic to "blendDstOut"
4. set ink of the image to "blendDstAtop"

script both the graphic and the img with
"on mouseDown; grab me; end mouseDown"

Now you can drag the image by grabbing it within the image's bounds.
OR
You can drag the graphic by grabbing it after scripting: "disable img <nameOfYourImage>" (from msg or button).

Find a full-stack-demo here:
http://forums.livecode.com/viewtopic.ph ... 80#p135480

Re: Putting image into a circle shape

Posted: Sun Nov 25, 2018 5:26 pm
by Klaus
Ah, cool, thank you Hermann!

Re: Putting image into a circle shape

Posted: Sun Nov 25, 2018 6:27 pm
by SparkOut
Ah, now that's what I was looking for when I mentioned "one of Hermann's nifty stacks".

Re: Putting image into a circle shape

Posted: Sun Nov 25, 2018 7:15 pm
by bogs
That is pretty cool.