Magnifier

Ken Norris pixelbird at interisland.net
Sat Jul 19 23:56:01 EDT 2003


Hi Dar,

> Date: Sat, 19 Jul 2003 01:26:19 -0600
> Subject: Re: Magnifier
> From: Dar Scott <dsc at swcp.com>
>
> The entry for 'import snapshot' has this syntax description:
> import snapshot [from rect[angle] top,left,bot,rt [of window
> windowID]]
> 
> The example for taking a screenshot of a stack has this line:
> import snapshot from rect (the rect of stack "My Stack")
> 
> ...so I think the syntax should be this:
> import snapshot [from rect[angle] left,top,rt,bot [of window
> windowID]]
> 
> ...which seems to work for me.
----------
Right. The normal coordinate description for a rect is as you say, so the
"TD" is wrong the way it says it.

However, in many descriptions, any screen coordinate is, by definition,
always a pair of numbers usually drawn from what is usually called the
topLeft corner (pair) to the bottomRight cornewr (pair). Maybe that's where
the Dictionary description got off track.

Just guessing,
Ken N.




More information about the use-livecode mailing list