We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does your library support the ability to get a string and create SVG file from it?
Like this:
SVG doc; doc.loadByString("<svg><text x='0' y='15' fill='red'> SVG </text></svg>")); //now, doc include SVG file
The text was updated successfully, but these errors were encountered:
Yes, it is possible:
#include <svgren/render.hpp> ... auto dom = svgdom::load("<svg><text x='0' y='15' fill='red'> SVG </text></svg>"); auto result = svgren::render(*dom);
The only thing, your example contains <text> element, and svgren does not support text rendering.
<text>
svgren
Sorry, something went wrong.
igagis
No branches or pull requests
Does your library support the ability to get a string and create SVG file from it?
Like this:
The text was updated successfully, but these errors were encountered: