CreateNewCurves() private method

private CreateNewCurves ( ) : String
return String
Example #1
0
        private void vetorizarPixelArtToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Vectorize grafo = new Vectorize();


            String c = "";

            c = grafo.ImageToGraph(OriImg);
            c = grafo.SolveAmbiguities();
            c = grafo.ReshapePixelCell();
            c = grafo.DrawNewGraphEdges();
            c = grafo.CreateNewCurves();
            //System.Diagnostics.Process.Start(grafo.ImageToGraph(OriImg));
            //System.Diagnostics.Process.Start(grafo.SolveAmbiguities());
            //System.Diagnostics.Process.Start(grafo.ReshapePixelCell());
            //System.Diagnostics.Process.Start(grafo.DrawNewGraphEdges());
            //System.Diagnostics.Process.Start(grafo.DrawNewCurves());
            System.Diagnostics.Process.Start(grafo.CreateShapes());
            grafo = null;
        }
Example #2
0
        private void vetorizarPixelArtToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Vectorize grafo = new Vectorize();

            String c = "";
            c = grafo.ImageToGraph(OriImg);
            c = grafo.SolveAmbiguities();
            c = grafo.ReshapePixelCell();
            c = grafo.DrawNewGraphEdges();
            c = grafo.CreateNewCurves();
            //System.Diagnostics.Process.Start(grafo.ImageToGraph(OriImg));
            //System.Diagnostics.Process.Start(grafo.SolveAmbiguities());
            //System.Diagnostics.Process.Start(grafo.ReshapePixelCell());
            //System.Diagnostics.Process.Start(grafo.DrawNewGraphEdges());
            //System.Diagnostics.Process.Start(grafo.DrawNewCurves());
            System.Diagnostics.Process.Start(grafo.CreateShapes());
            grafo = null;
        }