Quantcast
Channel: Active questions tagged react-native+ios - Stack Overflow
Viewing all articles
Browse latest Browse all 16750

What does "spreading one original pixel into multiple ones" mean in React Native?

$
0
0

I'm reading this article on the PixelRatio class in React Native. It says "iOS tries to be as faithful as possible to the user value by spreading one original pixel into multiple ones to trick the eye".

What does this mean? Does it mean that if you set something to be 1.9 in size, it will "spread" the element to be 2 pixels? If so, would it round 1.4px down to 1px?


Viewing all articles
Browse latest Browse all 16750

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>