3 references to DeviceSizeToLogical
PresentationFramework (3)
System\Windows\Shell\WindowChromeWorker.cs (1)
1081
Size logicalSize = DpiHelper.
DeviceSizeToLogical
(new Size(rcWindow.Width, rcWindow.Height), dpi.DpiScaleX, dpi.DpiScaleY);
System\Windows\SystemParameters.cs (2)
5717
Size frameSizeInDips = Standard.DpiHelper.
DeviceSizeToLogical
(frameSize, SystemParameters.DpiX / 96.0, SystemParameters.Dpi / 96.0);
5742
Size frameSizeInDips = Standard.DpiHelper.
DeviceSizeToLogical
(frameSize, SystemParameters.DpiX / 96.0, SystemParameters.Dpi / 96.0);