public SVGDocument(string originalDocument, SVGGraphics r)
        {
            parser = new SVGParser(originalDocument);

            while (!parser.isEOF && parser.node.name != SVGNodeName.SVG)
                parser.Next();

            _rootElement = new SVGElement(parser, new SVGTransformList(), null, true);
        }
Exemple #2
0
        public SVGDocument(string originalDocument, SVGGraphics r)
        {
            parser = new SVGParser(originalDocument);

            while (!parser.isEOF && parser.node.name != SVGNodeName.SVG)
            {
                parser.Next();
            }

            _rootElement = new SVGElement(parser, new SVGTransformList(), null, true);
        }
 public void Clear()
 {
     _rootElement = null;
     parser = null;
 }
Exemple #4
0
 public void Clear()
 {
     _rootElement = null;
     parser       = null;
 }