On Sat, Aug 27, 2011 at 12:31 AM, Nick Zitzmann <n...@chronosnet.com> wrote: > > On Aug 25, 2011, at 2:36 PM, Arbit Richardi wrote:
>> Is there another method that will >> draw windows at non-whole number point sizes? > > No. What are you trying to accomplish? Cocoa has no problem at all drawing *views* with non-whole point sizes, but it forces windows to be whole point sizes. As far as I can tell, this behavior is undocumented, so I thought I'd ask about it here. In my case, I was surprised to sometimes see cracks between the edge of a view and its enclosing window frame or title bar, but it's not a big deal — I can just round my view sizes up to whole point values. >> Is this behavior the >> same on higher-resolution devices? > > Maybe. Did you try it? You can see for yourself by running Quartz Debug and > choosing > "UI resolution" in the Window menu. I tried it, and the answer is yes. Using Quartz Debug, windows are rounded up to whole-point sizes at all scale factors (up to 216 DPI). _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com