use of net.sf.latexdraw.parsers.svg.SVGDefsElement in project latexdraw by arnobl.
the class TestSVGBase method setUp.
@Before
public void setUp() {
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