4 references to DevicePixelsToLogical
PresentationFramework (4)
src\Framework\System\Windows\Standard\DpiHelper.cs (3)
54
Point topLeft =
DevicePixelsToLogical
(new Point(deviceRectangle.Left, deviceRectangle.Top), dpiScaleX, dpiScaleY);
55
Point bottomRight =
DevicePixelsToLogical
(new Point(deviceRectangle.Right, deviceRectangle.Bottom), dpiScaleX, dpiScaleY);
70
Point pt =
DevicePixelsToLogical
(new Point(deviceSize.Width, deviceSize.Height), dpiScaleX, dpiScaleY);
src\Framework\System\Windows\SystemParameters.cs (1)
6355
double captionHeightInDips = Standard.DpiHelper.
DevicePixelsToLogical
(new Point(0, captionHeight), SystemParameters.DpiX / 96.0, SystemParameters.Dpi / 96.0).Y;