GRAPHICS: Compute window maximum width and height.