[plt-scheme] editor coordinates units

From: Matthias Felleisen (matthias at ccs.neu.edu)
Date: Sat Dec 8 14:56:50 EST 2007

I think section 8.1 is your friend here though it looks like a pretty  
lean friend:

> When an editor is drawn into a display, each snip and position has  
> a location. The location of a position or snip is specified in  
> coordinates relative to the top-left corner of the editor.  
> Locations in an editor are only meaningful when the editor is  
> displayed.

There are also conversion methods for getting global coordinates  
converted into local ones and vv. -- Matthias

On Dec 8, 2007, at 2:04 PM, Leslie Gerhat wrote:

> Hello Everyone,
> Could someone please explain the units of the function get-view in  
> snip-admin% in the Mr.Ed library.  The function is (send a-snip- 
> admin get-view x y w h snip) and the help desk lists the units as  
> "If snip is #f, the total visible region of the snip's top-level  
> display is returned in editor coordinates."  What do "editor  
> coordinates" mean and how are they calibrated? Thank you.
> Looking for last minute shopping deals? Find them fast with Yahoo!  
> Search.
> _________________________________________________
>   For list-related administrative tasks:
>   http://list.cs.brown.edu/mailman/listinfo/plt-scheme

Posted on the users mailing list.