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
{{ message }}
This repository was archived by the owner on Jan 4, 2019. It is now read-only.
Which avoids a conversion to and from DIP when the transformed point does not change. Currently the conversion from and to int points result in the points that can be off by a pixel or 2.
See content/browser/renderer_host/dip_util.cc and gfx::ConvertPointToDIP and gfx::ConvertSizeToPixel
The text was updated successfully, but these errors were encountered:
Instead of multiplying and dividing by 1.75 for 175% DPI, we should be using
PhysicalToLogicalPointForPerMonitorDPI
andPhysicalToLogicalPointForPerMonitorDPI
https://msdn.microsoft.com/en-us/library/windows/desktop/dn469266(v=vs.85).aspx
See also the discussion here:
brave/browser-laptop#8472
Which avoids a conversion to and from DIP when the transformed point does not change. Currently the conversion from and to int points result in the points that can be off by a pixel or 2.
See
content/browser/renderer_host/dip_util.cc
andgfx::ConvertPointToDIP
andgfx::ConvertSizeToPixel
The text was updated successfully, but these errors were encountered: