Re: Image Offset in Frame

2017-11-16 Thread Sannyasin Brahmanathaswami via use-livecode
@ Alejandro: Thanks.. very clear… @paul hibbert Thanks for the reminder on Scott's masking stack.. .that's what was sticking my mind that I could not find… I downloaded hist stack again. but it seems we don't even need a graphic on top of the image or have to concern ourselves with these

Re: Image Offset in Frame

2017-11-16 Thread J. Landman Gay via use-livecode
On 11/16/17 6:22 PM, Alejandro Tejada via use-livecode wrote: In the Position pane, at least in LC 9. Which one? Do you set clipstorect property using the checkbox labeled "Resize when setting rect property"? In the Position pane, directly under the lockLoc checkbox, is a checkbox for

Re: Image Offset in Frame

2017-11-16 Thread Alejandro Tejada via use-livecode
Hi Jacque, > In the Position pane, at least in LC 9. Which one? Do you set clipstorect property using the checkbox labeled "Resize when setting rect property"? > I've wondered why we need clipsToRect when we have boundingRect. > The only difference I can see is that boundingRect works with a >

Re: Image Offset in Frame

2017-11-16 Thread J. Landman Gay via use-livecode
On 11/16/17 4:38 PM, Alejandro Tejada via use-livecode wrote: Option 1) - set the locklocation of this group to true or Option 2) - set the clipstorect of this group to true or Option 3) - set the boundingRect of this group to the rect of this group I've wondered why we need clipsToRect when

Re: Image Offset in Frame

2017-11-16 Thread Alejandro Tejada via use-livecode
I was wrong. There is at least 3 (maybe more) different ways to clip an image using a group: Method 1 using lockLocation: Method 2 using clipstorect Method 3 using boundingRect The following detailed description is useful mostly for newcomers in this platform... 1) create a new stack 2) import

Image Offset in Frame

2017-11-16 Thread Alejandro Tejada via use-livecode
Looks like there are two different ways to clip an image using a group: Method 1 using lockLocation: 1) create a new stack 2) import an image 3) set the script of this image to: on mousedown grab me end mousedown - 4) group this imported image 5)

Re: Image Offset in Frame

2017-11-15 Thread Paul Hibbert via use-livecode
For a simple rectangular crop you can just group the image and set the group bounds to the desired frame area, make sure you lock the location of the group and image, but ultimately I think the best person to answer your question would be Scott Rossi, so I’ll hand over to him…

Image Offset in Frame

2017-11-15 Thread Alejandro Tejada via use-livecode
Hi Sannyasin, > This is probably covered somewhere, but I can't find it. > In CSS we can position in image in frame with an offset like -20,-20 > In most layout programs you can move the image around inside the > frame. How can we do that with an image in LiveCode? > I can use crop, but this is

Image Offset in Frame

2017-11-15 Thread Sannyasin Brahmanathaswami via use-livecode
His is probably covered somewhere, but I can't find it. In CSS we can position in image in frame with an offset like -20,-20 In most layout programs you can move the image around inside the frame. How can we do that with an image in LiveCode? I can use crop, but this is permanent BR