General Philosophy for Handling Orientation Changes

From some experiments it seems that the x/y coordinate system is based on the device being in portrait mode? And display.contentWidth and display.contentHeight are also based on portrait?

Anyone have a good way (or point me to a post or conversation) to transform the coordinate system for landscape?  Do I have to transform all the coordinates myself, or is their some built-in mechanism that I just haven’t discovered yet?

Thanks.