예제 #1
0
        private void testSvg()
        {
            List <CadFigure> figList = Controller.DB.GetSelectedFigList();

            SvgExporter svgExporter = new SvgExporter();

            XDocument doc = svgExporter.ToSvg(figList,
                                              Controller.DC,
                                              Controller.PageSize.Width,
                                              Controller.PageSize.Height);

            DOut.pl(doc.ToString());
            doc.Save(@"f:\work2\test.svg");
        }