COCKOS
CONFEDERATED FORUMS
Cockos : REAPER : NINJAM : Forums
Forum Home : Register : FAQ : Members List : Search :

Go Back   Cockos Incorporated Forums > Other Software Discussion > WDL users forum

Reply
 
Thread Tools Display Modes
Old 02-27-2019, 02:22 AM   #1
juliansader
Human being with feelings
 
Join Date: Jul 2009
Posts: 2,659
Default macOS: Screen coordinates relative to *top* left corner?

It seems that WDL/swell functions such as GetWindowRect return screen coordinates relative to the bottom left corner of the screen, instead of the top left like Win32.

Is there any setting (such as a #define'd variable) that can change this to top left?

* What about GDI and LICE functions in macOS? Do they also use coordinates relative to the bottom left of the device or bitmap?

* The mouse coordinates (relative to the window) sent by mouse events such as WM_LBUTTONDOWN?

Last edited by juliansader; 02-27-2019 at 10:21 AM.
juliansader is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 02:10 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.