Re: NSWindow non-integer point sizes? (on Retina dispays)

2017-07-01 Thread Ken Thomases
On Jul 1, 2017, at 11:11 PM, Sean McBride wrote: > >> If your window is borderless, you can make it transparent and have a >> fractional-size view (subview of the contentView) do the base opaque >> drawing, thereby effectively setting the size of the window. > > Thanks for the suggestion, though

Re: NSWindow non-integer point sizes? (on Retina dispays)

2017-07-01 Thread Sean McBride
On Fri, 30 Jun 2017 19:29:54 -0500, Ken Thomases said: >> 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).

Re: NSWindow non-integer point sizes? (on Retina dispays)

2017-07-01 Thread Sean McBride
On Fri, 30 Jun 2017 11:00:40 -0700, Quincey Morris said: >On Jun 30, 2017, at 10:26 , Sean McBride wrote: >> >> Does anyone know what NSWindow's initWithContentRect: behaviour is >with non-integer contentRect? > >Not really, but is there a reason why you can’t just try it? Obviously I tried. :)