Closed MatheusrdSantos closed 9 months ago
fixes the support for matrix transformation on the method page.drawSvg
page.drawSvg
This PR was created due to this bug report: https://github.com/Hopding/pdf-lib/pull/1073#issuecomment-1805809987
The matrix transformation was already supported, however it was missing the rotation it applies to the objects.
now the labels are rotated and translated to the correct place
https://www.w3.org/TR/SVGTiny12/coords.html
What?
fixes the support for matrix transformation on the method
page.drawSvg
Why?
This PR was created due to this bug report: https://github.com/Hopding/pdf-lib/pull/1073#issuecomment-1805809987
How?
The matrix transformation was already supported, however it was missing the rotation it applies to the objects.
Testing?
New Dependencies?
Screenshots
now the labels are rotated and translated to the correct place
Suggested Reading?
https://www.w3.org/TR/SVGTiny12/coords.html
Anything Else?
Checklist