Function Display.displayDPI
Wraps SDL_GetDisplayDPI
(from SDL 2.0.4) which gets the display's DPI information
std .typecons .Tuple!(float,"ddpi",float,"hdpi",float,"vdpi") displayDPI() @property @trusted const;
Returns
named tuple of ddpi
, hdpi
, and vdpi
Throws
dsdl2
if failed to get the display's DPI information