3 writes to CurrentDpiScale
PresentationCore (3)
System\Windows\InterOp\HwndTarget.cs (3)
339
CurrentDpiScale
= GetDpiScaleForWindow(_hWnd);
1748
CurrentDpiScale
= newDpi;
1770
CurrentDpiScale
= newDpi;
18 references to CurrentDpiScale
PresentationCore (18)
System\Windows\Input\Stylus\Common\StylusLogic.cs (4)
407
if (!_transformToDeviceMatrices.ContainsKey(hwndSource.CompositionTarget.
CurrentDpiScale
))
409
_transformToDeviceMatrices[hwndSource.CompositionTarget.
CurrentDpiScale
] = hwndSource.CompositionTarget.TransformToDevice;
410
Debug.Assert(_transformToDeviceMatrices[hwndSource.CompositionTarget.
CurrentDpiScale
].HasInverse);
413
toDevice = _transformToDeviceMatrices[hwndSource.CompositionTarget.
CurrentDpiScale
];
System\Windows\InterOp\HwndTarget.cs (14)
268
CurrentDpiScale
.DpiScaleX, 0,
269
0 ,
CurrentDpiScale
.DpiScaleY,
754
CurrentDpiScale
,
870
var oldDpi =
CurrentDpiScale
;
903
var oldDpi =
CurrentDpiScale
;
1746
var oldDpi =
CurrentDpiScale
;
1768
var oldDpi =
CurrentDpiScale
;
1796
CurrentDpiScale
,
2306
DpiFlags dpiFlags = DpiUtil.UpdateDpiScalesAndGetIndex(
CurrentDpiScale
.PixelsPerInchX,
CurrentDpiScale
.PixelsPerInchY);
2333
m.Scale(
CurrentDpiScale
.DpiScaleX,
CurrentDpiScale
.DpiScaleY);
2348
m.Scale(1.0f/
CurrentDpiScale
.DpiScaleX, 1.0f/
CurrentDpiScale
.DpiScaleY);