MCPcopy Create free account
hub / github.com/MicrosoftEdge/WebView2Browser / GetDPIAwareBound

Method GetDPIAwareBound

BrowserWindow.cpp:898–904  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

896}
897
898int BrowserWindow::GetDPIAwareBound(int bound)
899{
900 // Remove the GetDpiForWindow call when using Windows 7 or any version
901 // below 1607 (Windows 10). You will also have to make sure the build
902 // directory is clean before building again.
903 return (bound * GetDpiForWindow(m_hWnd) / DEFAULT_DPI);
904}
905
906std::wstring BrowserWindow::GetAppDataDirectory()
907{

Callers 1

ResizeWebViewMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected