Grx.get_dpi
@returns(int) def get_dpi(): # Python wrapper for grx_get_dpi()
Gets the display resolution of the current graphics mode or #GRX_DEFAULT_DPI if the current driver does not support getting the resolution.
The display resolution can also be manually specified using Grx.set_driver or the GRX_DRIVER environment variable.
- Returns