Re: Screen <--> View Coordinate system conversion
Re: Screen <--> View Coordinate system conversion
- Subject: Re: Screen <--> View Coordinate system conversion
- From: Graham Cox <email@hidden>
- Date: Wed, 20 Jan 2016 11:30:47 +1100
OK, I got this working - thanks for all the help.
There is a follow-up issue though. On 10.11 (others not yet tried), the drawing only appears on the main screen. When I make my transparent window, I size it to the union of all NSScreens, thinking that would cover the entire desktop no matter how many screens I have. Obviously, I need to do more to make this work across multiple monitors, but I’m not sure what. This has always worked in the (distant) past, but probably the changes to screen behaviour from 10.9 has nixed that.
What shoudl I be looking for to make an overlay window that will work across any number of screens, and also back to the older OS versions? (10.7 at least).
—Graham
> On 16 Jan 2016, at 5:19 PM, Graham Cox <email@hidden> wrote:
>
> In fact this is now 90% working, it’s just the refresh that’s out of kilter, which is no surprise since the CTM is only modified when drawing. I think I’m close….
_______________________________________________
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