12 references to LogicalPixelsToDevice
PresentationFramework (12)
System\Windows\Shell\WindowChromeWorker.cs (6)
817
double topLeftRadius = DpiHelper.
LogicalPixelsToDevice
(new Point(_chromeInfo.CornerRadius.TopLeft, 0), dpi.DpiScaleX, dpi.DpiScaleY).X;
833
double topRightRadius = DpiHelper.
LogicalPixelsToDevice
(new Point(_chromeInfo.CornerRadius.TopRight, 0), dpi.DpiScaleX, dpi.DpiScaleY).X;
841
double bottomLeftRadius = DpiHelper.
LogicalPixelsToDevice
(new Point(_chromeInfo.CornerRadius.BottomLeft, 0), dpi.DpiScaleX, dpi.DpiScaleY).X;
849
double bottomRightRadius = DpiHelper.
LogicalPixelsToDevice
(new Point(_chromeInfo.CornerRadius.BottomRight, 0), dpi.DpiScaleX, dpi.DpiScaleY).X;
1088
Point deviceTopLeft = DpiHelper.
LogicalPixelsToDevice
(logicalTopLeft, dpi.DpiScaleX, dpi.DpiScaleY);
1089
Point deviceBottomRight = DpiHelper.
LogicalPixelsToDevice
(logicalBottomRight, dpi.DpiScaleX, dpi.DpiScaleY);
System\Windows\Standard\DpiHelper.cs (5)
45
Point topLeft =
LogicalPixelsToDevice
(new Point(logicalRectangle.Left, logicalRectangle.Top), dpiScaleX, dpiScaleY);
46
Point bottomRight =
LogicalPixelsToDevice
(new Point(logicalRectangle.Right, logicalRectangle.Bottom), dpiScaleX, dpiScaleY);
61
Point pt =
LogicalPixelsToDevice
(new Point(logicalSize.Width, logicalSize.Height), dpiScaleX, dpiScaleY);
75
Point topLeft =
LogicalPixelsToDevice
(new Point(logicalThickness.Left, logicalThickness.Top), dpiScaleX, dpiScaleY);
76
Point bottomRight =
LogicalPixelsToDevice
(new Point(logicalThickness.Right, logicalThickness.Bottom), dpiScaleX, dpiScaleY);
System\Windows\SystemCommands.cs (1)
70
ShowSystemMenuPhysicalCoordinates(window, DpiHelper.
LogicalPixelsToDevice
(screenLocation, dpi.DpiScaleX, dpi.DpiScaleY));