Skip to content

fix(): globalAlpha, transform, setTransform - #24

Closed
ShaMan123 wants to merge 1 commit into
joshua-gould:masterfrom
ShaMan123:fixes
Closed

fix(): globalAlpha, transform, setTransform#24
ShaMan123 wants to merge 1 commit into
joshua-gould:masterfrom
ShaMan123:fixes

Conversation

@ShaMan123

Copy link
Copy Markdown

Ports ApryseSDK#1

Fixes

globalAlpha getter was retuning a ref to the doc - fixed that by keeping it in state.
Implemented transform, setTransform.

Misc

IMO you should merge fixes from https://github.com/PDFTron/canvas2pdf
Stuff like es6 doesn't work here but work there etc. (importing means you must declare PDFDocument on the global object for the lib to work)

As I wrote I am going for node canvas pdf options which are very robust

@joshua-gould

Copy link
Copy Markdown
Owner

Code has been modernized-please feel free to open a new pull request. Also, please note that the goals of canvas2pdf and node canvas are different-canvas2pdf is a browser solution whereas node canvas required node. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants