Get the pixel-based resolution of the host device.