diff options
author | Markus Nißl <unknown> | 2022-11-26 22:28:13 +1100 |
---|---|---|
committer | Markus Nißl <unknown> | 2022-11-26 22:28:13 +1100 |
commit | a179c1bd5f83c7b6c649fadbf98ffb2309e50adc (patch) | |
tree | aab797c3e9b0abb491e6e5096aee13e8d8f8fce8 /win32/PlatWin.h | |
parent | b9cef6c5e4baa41bfe1ff073d662153cb44880d7 (diff) | |
download | scintilla-mirror-a179c1bd5f83c7b6c649fadbf98ffb2309e50adc.tar.gz |
Bug [#2344]. Avoid blurry display with DirectWrite in GDI scaling mode.
https://sourceforge.net/p/scintilla/code/merge-requests/28/
Diffstat (limited to 'win32/PlatWin.h')
-rw-r--r-- | win32/PlatWin.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/win32/PlatWin.h b/win32/PlatWin.h index 8261aeb2d..aa16e9f89 100644 --- a/win32/PlatWin.h +++ b/win32/PlatWin.h @@ -46,6 +46,7 @@ void SetWindowPointer(HWND hWnd, void *ptr) noexcept; HMONITOR MonitorFromWindow(HWND hWnd) noexcept; UINT DpiForWindow(WindowID wid) noexcept; +int GetDeviceScaleFactorWhenGdiScalingActive(HWND hWnd) noexcept; int SystemMetricsForDpi(int nIndex, UINT dpi) noexcept; |