You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Petr Slaby (JIRA)" <ji...@apache.org> on 2014/07/04 16:16:34 UTC
[jira] [Updated] (PDFBOX-2185) Rotation and skew not applied on
rectangles
[ https://issues.apache.org/jira/browse/PDFBOX-2185?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Petr Slaby updated PDFBOX-2185:
-------------------------------
Attachment: AppendRectangleToPath.java.patch
example_013.pdf
> Rotation and skew not applied on rectangles
> -------------------------------------------
>
> Key: PDFBOX-2185
> URL: https://issues.apache.org/jira/browse/PDFBOX-2185
> Project: PDFBox
> Issue Type: Bug
> Components: Rendering
> Affects Versions: 2.0.0
> Reporter: Petr Slaby
> Attachments: AppendRectangleToPath.java.patch, example_013.pdf
>
>
> When rendering the attached example, rotation and skew of rectangles is not applied properly. The reason is that the AppendRectangleToPath transform only start and end point and makes a non-rotated non-skewed result out of that. Instead, each corner of the rectangle has to be transformed separately as shown in the attached patch.
--
This message was sent by Atlassian JIRA
(v6.2#6252)