Function Window.size

Size of this Window's content area, in screen coordinates.

const(Size) size() @property const;

This value may not necessarily match Window.framebufferSize. For example, on mac OS machines with high-DPI Retina displays.

See Also

Window size in the GLFW documentation