MCPcopy Index your code
hub / github.com/DreamSourceLab/DSView / GetDevicePixelRatio

Method GetDevicePixelRatio

DSView/pv/winnativewidget.cpp:799–808  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

797}
798
799int WinNativeWidget::GetDevicePixelRatio()
800{
801 auto screen = GetPointScreen();
802 if (screen != NULL){
803 return screen->devicePixelRatio();
804 }
805 else{
806 return QGuiApplication::primaryScreen()->devicePixelRatio();
807 }
808}
809
810bool WinNativeWidget::IsVisible()
811{

Callers 4

WndProcMethod · 0.95
saveNormalRegionMethod · 0.80
SetFormRegionMethod · 0.80
GetFormRegionMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected