• 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: 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

  • Follow-Ups:
    • Re: scaleUnitSquareToSize
      • From: email@hidden
References: 
 >scaleUnitSquareToSize (From: email@hidden)
 >Re: scaleUnitSquareToSize (From: Kyle Sluder <email@hidden>)
 >Re: scaleUnitSquareToSize (From: email@hidden)

  • Prev by Date: Re: scaleUnitSquareToSize
  • Next by Date: Re: scaleUnitSquareToSize
  • Previous by thread: Re: scaleUnitSquareToSize
  • Next by thread: Re: scaleUnitSquareToSize
  • Index(es):
    • Date
    • Thread