DrawNewGraphEdges() private method

private DrawNewGraphEdges ( ) : String
return String
コード例 #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;
        }
コード例 #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;
        }