Re: centerRect - "stretching" an image

2019-02-13 Thread scott--- via use-livecode
Jacque, Thanks for the example explanations. I wan’t quite understanding the usefulness. — Scott Morrow Elementary Software (Now with 20% less chalk dust!) web http://elementarysoftware.com/ email sc...@elementarysoftware.com booth1-800-615-0867

Re: centerRect - "stretching" an image

2019-02-13 Thread J. Landman Gay via use-livecode
The centerRect allows you to stretch a portion of an image without affecting the areas outside of the rectangle. Imagine you have an image with rounded corners and you want to use it as a button icon. You can specify an area in the center of the image that can stretch as wide as you need the

Re: centerRect - "stretching" an image

2019-02-13 Thread Mark Wieder via use-livecode
On 2/13/19 7:43 PM, Brian Milby via use-livecode wrote: In that context, the brackets are surrounding optional text so    CenterRect   Or   CenterRectangle Ha! That makes even more sense. -- Mark Wieder ahsoftw...@gmail.com ___ use-livecode

Re: centerRect - "stretching" an image

2019-02-13 Thread Brian Milby via use-livecode
In that context, the brackets are surrounding optional text so    CenterRect   Or   CenterRectangle Thanks, Brian On Feb 13, 2019, 10:10 PM -0500, Mark Wieder via use-livecode , wrote: > On 2/13/19 5:47 PM, Sannyasin Brahmanathaswami via use-livecode wrote: > > > 2. centerRect[angle] > > Implies

Re: centerRect - "stretching" an image

2019-02-13 Thread Mark Wieder via use-livecode
On 2/13/19 5:47 PM, Sannyasin Brahmanathaswami via use-livecode wrote: 2. centerRect[angle] Implies an array. But there is no reference to an array in the dictionary? I've never used the centerRect property, but I'm sure "angle" here should read "rectangle". -- Mark Wieder

centerRect - "stretching" an image

2019-02-13 Thread Sannyasin Brahmanathaswami via use-livecode
See my other message to the list of UI Handlers… For my library, I was looking for clues to "centering " and came across centerRect set the centerRect[angle] of image to rectangle set the centerRect of image "buttonImage" to 20,20,45,200 Dictionary is obscure, 1. What does "stretching"

Collaborate on UI Handlers

2019-02-13 Thread Sannyasin Brahmanathaswami via use-livecode
I was looking for a name for a library that would be like "model" in the way that Andre describes it in his book. But it has nothing to data or disk acces, but it has to do with a "view" ; but it is meant to be "encapsulated/independent" of the view. In this case the "view" is a card, in a