Skip to content
Discussion options

You must be logged in to vote

TBH, the samples are slightly outdated. The chunks you receive in partialRenderFinished are absolutely positioned and you also get an x/y coordinate where to position them.

Here is a more up-to-date example (from the Node.js PNG rendering guide). but the positioning part applies to SVGs too.
https://alphatab.net/docs/guides/nodejs#combine-all-individual-pngs-into-one-final-one-and-save-it

But in the end it depends on what you are exactly doing. Maybe you can prepare a small fiddle showing your problem.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by ldupoueyUB
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants