alafr / SVG-to-PDFKit

Insert SVG into a PDF document created with PDFKit
MIT License
397 stars 111 forks source link

implement `transform-origin` #157

Open adamwong246 opened 2 years ago

adamwong246 commented 2 years ago

fixes #156

Implements the transform-origin property as documented in the following sources:

Our team needed this feature, so I hope you'll find it useful as well. The work is ATM incomplete but suffices for our team. I'll be doing the pro-bono work needed to get this PR merged back upstream- let me know what else is required. A very narrow test has been made and the results are checked in as a pdf matching the official test image

Work left to do:

Also I added node_modules to the .gitignore ;-)