• 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: NSRulerView and inches
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSRulerView and inches


  • Subject: Re: NSRulerView and inches
  • From: Kyle Sluder <email@hidden>
  • Date: Thu, 21 Jan 2010 16:38:54 -0800

On Thu, Jan 21, 2010 at 4:26 PM, Graham Cox <email@hidden> wrote:
> I'd say that letting the view do the scaling is definitely the easiest way to do it, through its -scaleUnitSquareToSize: method. It's true that elements such as selection handles and whatnot probably need to compensate for the view scale in the opposite direction, but it's probably better to apply that "unzooming" to the selection handles when they are drawn as a special case rather than the general scalable content. I also found that cancelling out the zoom altogether for handles is less usable than allowing them to scale in some proportion to the main zoom, e.g. at about 1/3rd the rate. That keeps them small enough not to block out the things they are associated with but still large enough to see and hit when zoomed in.

I disagree wholeheartedly. I'd use automatic frame/bounds scaling for
resolution independence, but manually track scale factors for zooming.

--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: NSRulerView and inches
      • From: Graham Cox <email@hidden>
References: 
 >NSRulerView and inches (From: Milen Dzhumerov <email@hidden>)
 >Re: NSRulerView and inches (From: Quincey Morris <email@hidden>)
 >Re: NSRulerView and inches (From: Graham Cox <email@hidden>)

  • Prev by Date: Re: Accepting and Responding to Keystrokes
  • Next by Date: Re: NSRulerView and inches
  • Previous by thread: Re: NSRulerView and inches
  • Next by thread: Re: NSRulerView and inches
  • Index(es):
    • Date
    • Thread