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