Function Window.allowsHighDPI

Wraps SDL_GetWindowFlags to check whether the window allows high DPI (from SDL 2.0.1)

bool allowsHighDPI() @property @trusted const;

Returns

true if window allows high DPI, otherwise false