use of net.sf.latexdraw.parser.svg.SVGSVGElement in project latexdraw by arnobl.
the class TestSVGBase method setUp.
@BeforeEach
void setUp(final SVGShapesFactory svgfac) {
factory = svgfac;
doc = new SVGDocument();
final SVGSVGElement root = doc.getFirstChild();
root.setAttribute("xmlns:" + LNamespace.LATEXDRAW_NAMESPACE, LNamespace.LATEXDRAW_NAMESPACE_URI);
root.appendChild(new SVGDefsElement(doc));
root.setAttribute(SVGAttributes.SVG_VERSION, "1.1");
root.setAttribute(SVGAttributes.SVG_BASE_PROFILE, "full");
}
Aggregations