PDFBOX-1875: DRY refactoring, new method transformedPDRectanglePath

git-svn-id: https://svn.apache.org/repos/asf/pdfbox/trunk@1606326 13f79535-47bb-0310-9956-ffa450edef68