6 references to DevicePixelsToLogical
PresentationFramework (6)
System\Windows\Shell\WindowChromeWorker.cs (2)
493
mousePosWindow = DpiHelper.
DevicePixelsToLogical
(mousePosWindow, dpi.DpiScaleX, dpi.DpiScaleY);
534
DpiHelper.
DevicePixelsToLogical
(mousePosScreen, dpi.DpiScaleX, dpi.DpiScaleY));
System\Windows\Standard\DpiHelper.cs (3)
55
Point topLeft =
DevicePixelsToLogical
(new Point(deviceRectangle.Left, deviceRectangle.Top), dpiScaleX, dpiScaleY);
56
Point bottomRight =
DevicePixelsToLogical
(new Point(deviceRectangle.Right, deviceRectangle.Bottom), dpiScaleX, dpiScaleY);
70
Point pt =
DevicePixelsToLogical
(new Point(deviceSize.Width, deviceSize.Height), dpiScaleX, dpiScaleY);
System\Windows\SystemParameters.cs (1)
5748
double captionHeightInDips = Standard.DpiHelper.
DevicePixelsToLogical
(new Point(0, captionHeight), SystemParameters.DpiX / 96.0, SystemParameters.Dpi / 96.0).Y;