19 references to LogicalToDeviceUnits
PresentationFramework (19)
src\Framework\MS\Internal\AppModel\RootBrowserWindow.cs (3)
479
Point sizeDeviceUnits =
LogicalToDeviceUnits
(new Point(0, newHeightLogicalUnits));
505
Point sizeDeviceUnits =
LogicalToDeviceUnits
(new Point(newWidthLogicalUnits, 0));
707
Point requestedSizeDeviceUnits =
LogicalToDeviceUnits
(new Point(this.Width, this.Height));
src\Framework\System\Windows\Window.cs (16)
2779
Point requestedSizeDeviceUnits =
LogicalToDeviceUnits
(new Point(requestedWidth, requestedHeight));
2780
Point requestedLocationDeviceUnits =
LogicalToDeviceUnits
(new Point(requestedLeft, requestedTop));
2842
Point minSizeDeviceUnits =
LogicalToDeviceUnits
(new Point(MinWidth, MinHeight));
2843
Point maxSizeDeviceUnits =
LogicalToDeviceUnits
(new Point(MaxWidth, MaxHeight));
2999
Point newSizeDeviceUnits =
LogicalToDeviceUnits
(new Point(this.ActualWidth, this.ActualHeight));
3116
Point ptDeviceUnits =
LogicalToDeviceUnits
(new Point(widthLogicalUnits, heightLogicalUnits));
3928
ownerSizeDeviceUnits = Owner.
LogicalToDeviceUnits
(new Point(Owner.Width, Owner.Height));
3937
Point ownerLocationDeviceUnits = Owner.
LogicalToDeviceUnits
(new Point(Owner.Left, Owner.Top));
5098
Point minSizeDeviceUnits =
LogicalToDeviceUnits
(new Point(finalMinMax.minWidth, finalMinMax.minHeight));
5099
Point maxSizeDeviceUnits =
LogicalToDeviceUnits
(new Point(finalMinMax.maxWidth, finalMinMax.maxHeight));
6193
double convertedValue = (
LogicalToDeviceUnits
(new Point(newValue, 0))).X;
6216
newTop = (
LogicalToDeviceUnits
(new Point(0, newTop))).Y;
6236
newLeft = (
LogicalToDeviceUnits
(new Point(newLeft, 0))).X;
6526
Point ptDeviceUnits =
LogicalToDeviceUnits
(new Point(leftLogicalUnits, topLogicalUnits));
6996
LogicalToDeviceUnits
(new Point(margin.Left, margin.Top)),
6997
LogicalToDeviceUnits
(new Point(logicalClientRc.Width - margin.Right, logicalClientRc.Height - margin.Bottom)));