platform and pixel ratio