Re: NSWindow setFrame:display: ceiling behavior?
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