3 writes to CurrentDpiScale
PresentationCore (3)
System\Windows\InterOp\HwndTarget.cs (3)
354
CurrentDpiScale
= GetDpiScaleForWindow(_hWnd);
1765
CurrentDpiScale
= newDpi;
1787
CurrentDpiScale
= newDpi;
18 references to CurrentDpiScale
PresentationCore (18)
System\Windows\Input\Stylus\Common\StylusLogic.cs (4)
417
if (!_transformToDeviceMatrices.ContainsKey(hwndSource.CompositionTarget.
CurrentDpiScale
))
419
_transformToDeviceMatrices[hwndSource.CompositionTarget.
CurrentDpiScale
] = hwndSource.CompositionTarget.TransformToDevice;
420
Debug.Assert(_transformToDeviceMatrices[hwndSource.CompositionTarget.
CurrentDpiScale
].HasInverse);
423
toDevice = _transformToDeviceMatrices[hwndSource.CompositionTarget.
CurrentDpiScale
];
System\Windows\InterOp\HwndTarget.cs (14)
283
CurrentDpiScale
.DpiScaleX, 0,
284
0 ,
CurrentDpiScale
.DpiScaleY,
769
CurrentDpiScale
,
885
var oldDpi =
CurrentDpiScale
;
918
var oldDpi =
CurrentDpiScale
;
1763
var oldDpi =
CurrentDpiScale
;
1785
var oldDpi =
CurrentDpiScale
;
1813
CurrentDpiScale
,
2321
DpiFlags dpiFlags = DpiUtil.UpdateDpiScalesAndGetIndex(
CurrentDpiScale
.PixelsPerInchX,
CurrentDpiScale
.PixelsPerInchY);
2348
m.Scale(
CurrentDpiScale
.DpiScaleX,
CurrentDpiScale
.DpiScaleY);
2363
m.Scale(1.0f/
CurrentDpiScale
.DpiScaleX, 1.0f/
CurrentDpiScale
.DpiScaleY);