[[DevicePixelRatioSource]] provides an interface for the source of the device pixel ratio.
Returns the current device pixel ratio.
[[DevicePixelRatioSource]] provides an interface for the source of the device pixel ratio.