concept point in category react native

This is an excerpt from Manning's book React Native in Action.
Figure 4.7 This is what figure 4.6 would look like if the centeredText style used padding: 10 instead of margin: 10 to position the text. The small circles highlight the points at which the bounding box of the Text component overlaps the border of the View component.
![]()
Instead, Apple introduced the logical concept of a point. A point is a unit of distance that can be scaled independently of a device’s resolution, so a 320 × 480 image that took up the entire screen on an original iPhone could be scaled up 2x to fully fit within the Retina display. Figure 5.1 provides a visualization of pixel density for several iPhone models.
Figure 5.1 A visualization of points compared to pixel density for iPhones. The original iPhone had a resolution of 320 × 480. The iPhone 4 had a resolution of 640 × 960, quadruple the resolution of the original device. The iPhone 4 has twice the PPI (326 vs. 163), so images are said to be scaled up 2x.
![]()