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