vispy.util.dpi package#
Subpackages#
Module contents#
The dpi module enables querying the OS for the screen DPI.
- vispy.util.dpi.get_dpi(raise_error=True)#
Get screen DPI from the OS
- Parameters:
- raise_errorbool
If True, raise an error if DPI could not be determined.
- Returns:
- dpifloat
Dots per inch of the primary screen.