Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NetHack/NetHack
/ win10_monitor_scale
Function
win10_monitor_scale
sys/windows/win10.c:99–102 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
97
}
98
99
double win10_monitor_scale(HWND hWnd)
100
{
101
return (double) win10_monitor_dpi(hWnd) / 96.0;
102
}
103
104
void win10_monitor_info(HWND hWnd, MonitorInfo * monitorInfo)
105
{
Callers
4
mswin_map_layout
Function · 0.85
mswin_create_splashfont
Function · 0.85
onDrawItem
Function · 0.85
win10_monitor_info
Function · 0.85
Calls
1
win10_monitor_dpi
Function · 0.85
Tested by
no test coverage detected