j
: Next unread message k
: Previous unread message j a
: Jump to all threads
j l
: Jump to MailingList overview
Hi--
I would expect (aMorph globalPointToLocal: aPointInGlobalCoordinates) to answer aPointInGlobalCoordinates as translated into the local coordinates of aMorph. This doesn't seem to be the case... should it? If not, what should I do instead, and how could I have learned this?
thanks,
-C
***
"E.g., I would expect 25@25 from..."
| morph |
morph _ ( (Morph new) extent: 50@50; position: 300@300). morph globalPointToLocal: morph bounds center
"...but I get 325@325 instead."
-- Craig Latta composer and computer scientist craig.latta@netjam.org www.netjam.org crl@watson.ibm.com Smalltalkers do: [:it | All with: Class, (And love: it)]
squeak-dev@lists.squeakfoundation.org