Under adaptive scaling, what's the unit for width/height?

For display.contentWidth, it’s point, as described in:

But other API doesn’t seem to take point as the unit, say display.*

on iOS with Retina screen, we must call it with 2x contentWidth to create a fullscreen object

display.newContainer(display.contentWidth \* 2, display.contentHeight \* 2)

Why? What’s the unit of width/height here?

If adaptive scaling is smart enough so we can always display.contentWidth * 2 = screen width without having to worry about actual PPI, why not handle the * 2 as well?

I say this coming from a responsive web design background: where viewport width=device-width cause CSS width to be consistent with the virtual pixel or point concept, developer doesn’t need to worry about PPI or device.

In Corona SDK’s case, we still need to remember the 2x scaling somehow.

I have confusing myself, the display object is positioned using center of object, not the top left corner, so screen width is indeed = display.contentWidth

I say this coming from a responsive web design background: where viewport width=device-width cause CSS width to be consistent with the virtual pixel or point concept, developer doesn’t need to worry about PPI or device.

In Corona SDK’s case, we still need to remember the 2x scaling somehow.

I have confusing myself, the display object is positioned using center of object, not the top left corner, so screen width is indeed = display.contentWidth