Example #1
0
    //export an svg file
    private void exportHandler(object sender, EventArgs e)
    {
        SVGWriter svgWriter = new SVGWriter(sender, e);

        foreach (Shape shape in shapes)
        {
            shape.Draw(CreateGraphics(), svgWriter);
        }
        svgWriter.MakeFile(sender, e);
    }