Re: scaleUnitSquareToSize
Re: scaleUnitSquareToSize
- Subject: Re: scaleUnitSquareToSize
- From: email@hidden
- Date: Sat, 16 Oct 2010 19:56:02 -0600
I am definitely moving into uncharted waters here .... thanks for the
direction .... I'll be off to the design and code cave ... questions
to follow I am sure !
-koko
On Oct 16, 2010, at 5:05 PM, Kyle Sluder wrote:
On Oct 16, 2010, at 2:47 PM, email@hidden wrote:
3. And apply it to each object in the view to simulate zooming ...
not sure if I get where you are going with this
Yes. Rather than using bounds scaling and leaving your drawables
oblivious to zoom, it is commonly helpful to instead build your
architecture to support drawing zoomed into a on unscaled bounds
coordinate system. Often you'll want to draw things in unscaled
units (resize handles, selection loops, and the like).
--Kyle Sluder
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden