12 references to LogicalPixelsToDevice
PresentationFramework (12)
System\Windows\Shell\WindowChromeWorker.cs (6)
822
double topLeftRadius = DpiHelper.
LogicalPixelsToDevice
(new Point(_chromeInfo.CornerRadius.TopLeft, 0), dpi.DpiScaleX, dpi.DpiScaleY).X;
838
double topRightRadius = DpiHelper.
LogicalPixelsToDevice
(new Point(_chromeInfo.CornerRadius.TopRight, 0), dpi.DpiScaleX, dpi.DpiScaleY).X;
846
double bottomLeftRadius = DpiHelper.
LogicalPixelsToDevice
(new Point(_chromeInfo.CornerRadius.BottomLeft, 0), dpi.DpiScaleX, dpi.DpiScaleY).X;
854
double bottomRightRadius = DpiHelper.
LogicalPixelsToDevice
(new Point(_chromeInfo.CornerRadius.BottomRight, 0), dpi.DpiScaleX, dpi.DpiScaleY).X;
1093
Point deviceTopLeft = DpiHelper.
LogicalPixelsToDevice
(logicalTopLeft, dpi.DpiScaleX, dpi.DpiScaleY);
1094
Point deviceBottomRight = DpiHelper.
LogicalPixelsToDevice
(logicalBottomRight, dpi.DpiScaleX, dpi.DpiScaleY);
System\Windows\Standard\DpiHelper.cs (5)
47
Point topLeft =
LogicalPixelsToDevice
(new Point(logicalRectangle.Left, logicalRectangle.Top), dpiScaleX, dpiScaleY);
48
Point bottomRight =
LogicalPixelsToDevice
(new Point(logicalRectangle.Right, logicalRectangle.Bottom), dpiScaleX, dpiScaleY);
63
Point pt =
LogicalPixelsToDevice
(new Point(logicalSize.Width, logicalSize.Height), dpiScaleX, dpiScaleY);
77
Point topLeft =
LogicalPixelsToDevice
(new Point(logicalThickness.Left, logicalThickness.Top), dpiScaleX, dpiScaleY);
78
Point bottomRight =
LogicalPixelsToDevice
(new Point(logicalThickness.Right, logicalThickness.Bottom), dpiScaleX, dpiScaleY);
System\Windows\SystemCommands.cs (1)
72
ShowSystemMenuPhysicalCoordinates(window, DpiHelper.
LogicalPixelsToDevice
(screenLocation, dpi.DpiScaleX, dpi.DpiScaleY));