On Nov 25, 2009, at 8:40 AM, Paul Bruneau wrote:

> I guess this is what you mean by "a bounding box transformed into view 
> coordinates". Yes, that is the way I am thinking of it, so that I can do 
> things like hit-testing in however many views my user might have open. So OK 
> I will start thinking about a parallel per-view model.

You probably don't even need parallel models unless you're doing something 
fancy. More typically you just do all the work you can in model coordinates. 
You transform points to view coords when drawing, and you transform mouse 
positions to model coords when handling events.

—Jens_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to