Exemple #1
0
        void DoExport(IEnumerable <CurveOptimizer> optimizers, String filename)
        {
            int width, height;

            parentWindow.GetSize(out width, out height);

            Svg.Document
            (
                new Orthotope2Double(0, width, 0, height),
                from optimizer in optimizers
                from path in optimizer.GetSvgPaths()
                select path
            )
            .Save(filename);
        }