Scaling an Image to a Rect

Richard Gaskin ambassador at fourthworld.com
Wed Oct 16 10:04:19 EDT 2013


Mark Wieder wrote:
> Hugh-
>
> Tuesday, October 15, 2013, 9:12:08 PM, you wrote:
>
>> An alternative to Richard's elegant snapshot solution, which would lose the
>> cropped data,
>
> Dang. So the "at" clause is for cropping, not resizing.
> While I'm happier about the syntax, I'm less than thrilled with the
> effect. And here I was about to rewrite some code...

I'm not sure what Hugh was referring to, but the "at" clause is indeed 
for resizing.  Remember, it was added for the IDE's Project Browser, 
which makes complete thumbnails of controls.

Try it....

--
  Richard Gaskin
  Fourth World
  LiveCode training and consulting: http://www.fourthworld.com
  Webzine for LiveCode developers: http://www.LiveCodeJournal.com
  Follow me on Twitter:  http://twitter.com/FourthWorldSys




More information about the use-livecode mailing list