Re: scaleUnitSquareToSize
Re: scaleUnitSquareToSize
- Subject: Re: scaleUnitSquareToSize
- From: Kyle Sluder <email@hidden>
- Date: Sat, 16 Oct 2010 16:05:20 -0700
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