You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've just checked the values which CGDisplay::pixels_high() and CGDisplay::pixels_wide() return (I wrote a simple test that calls CGDisplay::main() and then prints some properties of it. It seems that the returned values are not in pixels, but in points. I know that CGDisplay wrapper uses the correct functions CGDisplayPixelsHigh() and CGDisplayPixelsWide(), but apparently they don't return the size in pixels. Should we rename the functions in CGDisplay, so that the documentation and function names better reflect the actual way they work?
The text was updated successfully, but these errors were encountered:
I've just checked the values which
CGDisplay::pixels_high()
andCGDisplay::pixels_wide()
return (I wrote a simple test that callsCGDisplay::main()
and then prints some properties of it. It seems that the returned values are not in pixels, but in points. I know thatCGDisplay
wrapper uses the correct functionsCGDisplayPixelsHigh()
andCGDisplayPixelsWide()
, but apparently they don't return the size in pixels. Should we rename the functions inCGDisplay
, so that the documentation and function names better reflect the actual way they work?The text was updated successfully, but these errors were encountered: