Device Pixel Ratio

How can it be retrieved?