From c2189f99d1781b4d676ea9741052df353e0180bd Mon Sep 17 00:00:00 2001 From: Neil Date: Thu, 27 Mar 2025 18:06:42 +1100 Subject: Use constant for pointsPerInch. --- win32/PlatWin.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'win32/PlatWin.h') diff --git a/win32/PlatWin.h b/win32/PlatWin.h index 27f9b3e3d..ec39b0870 100644 --- a/win32/PlatWin.h +++ b/win32/PlatWin.h @@ -15,6 +15,9 @@ namespace Scintilla::Internal { #endif constexpr FLOAT dpiDefault = USER_DEFAULT_SCREEN_DPI; +// Used for defining font size with LOGFONT +constexpr int pointsPerInch = 72; + extern void Platform_Initialise(void *hInstance) noexcept; extern void Platform_Finalise(bool fromDllMain) noexcept; -- cgit v1.2.3