get_dpi


Description:

public uint get_dpi ()

Gets the display resolution of the current graphics mode or DEFAULT_DPI if the current driver does not support getting the resolution.

The display resolution can also be manually specified using set_driver or the GRX_DRIVER environment variable.

Returns:

the resolution in dots per inch


Namespace: Grx
Package: grx-3.0