3 writes to CurrentDpiScale
PresentationCore (3)
System\Windows\InterOp\HwndTarget.cs (3)
341
CurrentDpiScale
= GetDpiScaleForWindow(_hWnd);
1752
CurrentDpiScale
= newDpi;
1774
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)
270
CurrentDpiScale
.DpiScaleX, 0,
271
0 ,
CurrentDpiScale
.DpiScaleY,
756
CurrentDpiScale
,
872
var oldDpi =
CurrentDpiScale
;
905
var oldDpi =
CurrentDpiScale
;
1750
var oldDpi =
CurrentDpiScale
;
1772
var oldDpi =
CurrentDpiScale
;
1800
CurrentDpiScale
,
2308
DpiFlags dpiFlags = DpiUtil.UpdateDpiScalesAndGetIndex(
CurrentDpiScale
.PixelsPerInchX,
CurrentDpiScale
.PixelsPerInchY);
2335
m.Scale(
CurrentDpiScale
.DpiScaleX,
CurrentDpiScale
.DpiScaleY);
2350
m.Scale(1.0f/
CurrentDpiScale
.DpiScaleX, 1.0f/
CurrentDpiScale
.DpiScaleY);