Instead of resetting IDs to zero with every wxSVGFileDC construction, have it remember the IDs that were already used.
This is useful if you need to combine multiple output SVGs. In my situation, I am ouputting many SVGs from different graph renderings, extracting the body from them, and then combining them into a larger SVG report. (Perhaps this is a use case for others as well.) With the current behaviour, the IDs for my clip rects are not always unique, which then causes rendering failures. This PR fixes this.
https://github.com/wxWidgets/wxWidgets/pull/26366
(2 files)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
Thanks, will push soon.
BTW, one small thing: could you please use the blank line between the subject and the body in your commit messages, as it should be done (see the classic guidelines)? Otherwise I always have to edit them before pushing. TIA!
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()