• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: scaleUnitSquareToSize
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >scaleUnitSquareToSize (From: email@hidden)
 >Re: scaleUnitSquareToSize (From: Kyle Sluder <email@hidden>)
 >Re: scaleUnitSquareToSize (From: email@hidden)
 >Re: scaleUnitSquareToSize (From: Kyle Sluder <email@hidden>)

  • Prev by Date: Re: scaleUnitSquareToSize
  • Next by Date: Re: NSScanner Failing with EXC_BAD_ACCESS
  • Previous by thread: Re: scaleUnitSquareToSize
  • Next by thread: Re: scaleUnitSquareToSize
  • Index(es):
    • Date
    • Thread