Salome HOME
Issue #3009: Adapt the application to HD screen
[modules/shaper.git] / src / ModuleBase / ModuleBase_Tools.h
index d6e4c4c550ce7fb74d1510a9183f3d3e39e5ac96..2d1ad9227f50d12ab0d49e4da220256b374f5a77 100644 (file)
@@ -404,6 +404,8 @@ bool MODULEBASE_EXPORT isSameShape(const TopoDS_Shape& theShape1, const TopoDS_S
 std::string MODULEBASE_EXPORT generateName(const AttributePtr& theAttribute,
   ModuleBase_IWorkshop* theWorkshop);
 
+/// Returns pixel ratio of a screen where main window is displayed
+qreal MODULEBASE_EXPORT currentPixelRatio();
 }
 
 #endif