Now oldPB and newPB will differ a lot.So, the question remains: what is a reliable way to show if the myPage was or was not transformed against documentPreferences.pageWidth or if myPage is of rectangular shape at all. See the possibility of adding a sheer angle to the transformation matrix. Also see screen shot:

So, the question remains: what is a reliable way to show if the myPage was or was not transformed against documentPreferences.pageWidth or if myPage is of rectangular shape at all. See the possibility of adding a sheer angle to the transformation matrix.