• 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: NSWindow setFrame:display: ceiling behavior?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSWindow setFrame:display: ceiling behavior?


  • Subject: Re: NSWindow setFrame:display: ceiling behavior?
  • From: Kyle Sluder <email@hidden>
  • Date: Sat, 27 Aug 2011 00:24:20 -0700

On Aug 25, 2011, at 1:36 PM, Arbit Richardi <email@hidden> wrote:

> Why do windows prefer whole points?

Most things will try to draw at integral pixel boundaries, because otherwise they look fuzzy and weird.

> Is there another method that will
> draw windows at non-whole number point sizes?

Probably not, no.

> Is this behavior the
> same on higher-resolution devices?

If you turn on HiDPI in Xcode, you can probably set your window to 0.5pt increments. Read the Lion release notes on HiDPI for an explanation of why. And just remember that the OS pays zero attention to the physical DPI of the monitor.

--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: 
 >NSWindow setFrame:display: ceiling behavior? (From: Arbit Richardi <email@hidden>)

  • Prev by Date: Re: Block until block is called
  • Next by Date: Re: NSWindow setFrame:display: ceiling behavior?
  • Previous by thread: NSWindow setFrame:display: ceiling behavior?
  • Next by thread: Re: NSWindow setFrame:display: ceiling behavior?
  • Index(es):
    • Date
    • Thread