MCPcopy Create free account
hub / github.com/ErrorFlynn/ytdlp-interface / scale_uint

Method scale_uint

ytdlp-interface/util.cpp:698–704  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

696
697
698unsigned util::scale_uint(unsigned val)
699{
700 const static double dpi {static_cast<double>(nana::API::screen_dpi(true))};
701 if(dpi != 96)
702 val = round(val * dpi / 96);
703 return val;
704}
705
706
707util::INTERNET_STATUS util::check_inet_connection()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected