NSWindow non-integer point sizes? (on Retina dispays)
NSWindow non-integer point sizes? (on Retina dispays)
- Subject: NSWindow non-integer point sizes? (on Retina dispays)
- From: "Sean McBride" <email@hidden>
- Date: Fri, 30 Jun 2017 13:26:25 -0400
- Organization: Rogue Research Inc.
Hi,
Does anyone know what NSWindow's initWithContentRect: behaviour is with
non-integer contentRect? The docs don't say. It seems that, on a retina
display, window size can only be an even number of pixels (ie an integer number
of points).
(I ask because I have some cross-platform OpenGL-based code that wants to
create windows of odd pixel count size. I figure it's not possible, but
thought I'd check here...)
Thanks,
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
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