Re: NSWindow non-integer point sizes? (on Retina dispays)
Re: NSWindow non-integer point sizes? (on Retina dispays)
- Subject: Re: NSWindow non-integer point sizes? (on Retina dispays)
- From: Quincey Morris <email@hidden>
- Date: Fri, 30 Jun 2017 11:00:40 -0700
On Jun 30, 2017, at 10:26 , Sean McBride <email@hidden> 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?
My guess would be that the window’s backing store would be pixel- or
point-aligned, whichever the Window Manager needs. If the window’s actual frame
is slightly smaller, you might get a thin strip of trash around the edges. Or
not.
_______________________________________________
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